#121212

Black

#121212Black

Luminance

0.006

Category

Black

Type

Dark

Best On

#FFFFFF

Color Codes

All color formats for your project

HEX

HEX
#121212
No #
121212

RGB

RGB
rgb(18, 18, 18)
Values
R:18 G:18 B:18

HSL

HSL
hsl(0, 0%, 7%)
Values
H:0° S:0% L:7%

HSV / HSB

HSV
hsv(0, 0%, 7%)
Values
H:0° S:0% V:7%

CMYK

CMYK
cmyk(0%, 0%, 0%, 93%)
Values
C:0 M:0 Y:0 K:93

LAB

LAB
lab(5, 0, 0)
Values
L:5 a:0 b:0

OKLCH

OKLCH
oklch(18.2% 0.000 89.9)
Values
L:18.2% C:0.000 H:89.9°

Code Formats

CSS
color: #121212;
Swift
UIColor(red: 0.071, green: 0.071, blue: 0.071, alpha: 1.0)
Kotlin
Color(0xFF121212)
Flutter
Color(0xFF121212)
Android
#FF121212

Contrast Analysis

WCAG compliance with grayscale colors

On White

18.73:1

AAA

On Black

1.12:1

Fail

Grayscale Contrast

Aa

0%

1.1

Fail
Aa

10%

1.1

Fail
Aa

20%

1.5

Fail
Aa

30%

2.2

Fail
Aa

40%

3.3

AA-large
Aa

50%

4.7

AA
Aa

60%

6.6

AA
Aa

70%

8.9

AAA
Aa

80%

11.7

AAA
Aa

90%

14.9

AAA
Aa

100%

18.7

AAA

Best Grayscale Contrast

#FFFFFF with ratio 18.73:1

Aa

Color Harmonies

Harmonious color combinations

complementary

Two colors opposite on the color wheel (180°)

split-complementary

Base color + two colors adjacent to its complement

triadic

Three colors evenly spaced (120° apart)

tetradic

Four colors evenly spaced (90° apart)

analogous

Three colors adjacent on the color wheel (30° apart)

Color Variations

Tints, shades, tones, and full scale

Color Scale (50-900)

50

100

200

300

400

500

600

700

800

900

Tints (Lighter)

Shades (Darker)

Tones (Desaturated)

Gradients (OKLCH)

Primary

90°
CSS
linear-gradient(90deg, #454545 0%, #404040 100%)
OKLCH
linear-gradient(90deg, oklch(39.0% 0.000 89.9) 0%, oklch(37.1% 0.000 89.9) 100%)
Stops
0%
100%

Vibrant

135°
CSS
linear-gradient(135deg, #322525 0%, #804D4D 100%)
OKLCH
linear-gradient(135deg, oklch(28.0% 0.020 18.4) 0%, oklch(47.9% 0.069 19.9) 100%)
Stops
0%
100%

Complementary

90°
CSS
linear-gradient(90deg, #121212 0%, #121212 100%)
OKLCH
linear-gradient(90deg, oklch(18.2% 0.000 89.9) 0%, oklch(18.2% 0.000 89.9) 100%)
Stops
0%
100%

Analogous

90°
CSS
linear-gradient(90deg, #121212 0%, #121212 50%, #121212 100%)
OKLCH
linear-gradient(90deg, oklch(18.2% 0.000 89.9) 0%, oklch(18.2% 0.000 89.9) 50%, oklch(18.2% 0.000 89.9) 100%)
Stops
0%
50%
100%

Sunset

90°
CSS
linear-gradient(90deg, #F6CE55 0%, #EE6C2B 50%, #E6193C 100%)
OKLCH
linear-gradient(90deg, oklch(86.4% 0.144 90.6) 0%, oklch(68.0% 0.177 43.8) 50%, oklch(59.1% 0.228 21.2) 100%)
Stops
0%
50%
100%

Ocean

135°
CSS
linear-gradient(135deg, #19A1E6 0%, #22C3B6 50%, #47D1A3 100%)
OKLCH
linear-gradient(135deg, oklch(67.5% 0.146 238.9) 0%, oklch(73.8% 0.124 186.2) 50%, oklch(77.5% 0.136 166.9) 100%)
Stops
0%
50%
100%

Dark Mode

180°
CSS
linear-gradient(180deg, #121212 0%, #251818 100%)
OKLCH
linear-gradient(180deg, oklch(18.2% 0.000 89.9) 0%, oklch(22.6% 0.021 18.8) 100%)
Stops
0%
100%

Radial Glow

Radial
CSS
radial-gradient(circle, #383838 0%, #4D4D4D 100%)
OKLCH
radial-gradient(circle, oklch(34.1% 0.000 89.9) 0%, oklch(42.0% 0.000 89.9) 100%)
Stops
0%
100%

💡 About OKLCH Gradients

OKLCH (Oklch Color Space) provides perceptually uniform gradients with better color transitions than traditional RGB/HSL gradients. The format is oklch(L% C H) where L = Lightness (0-100%), C = Chroma (0-0.4), H = Hue (0-360°).

Generate Full Palette

Create a complete brand palette from this color with primary, secondary, accent, and neutral scales.

View Palette