#2C021F#2C021F
#2C021F is a very dark, moderate pink. Relative luminance 0.007; OKLCH L 20.0% C 0.080 H 343.3°. Best body text is #FFFFFF at 18.49:1 contrast (WCAG AA passes).
Color values
| HEX | #2C021F |
|---|---|
| RGB | rgb(44, 2, 31) |
| HSL | hsl(319, 91%, 9%) |
| HSV | hsv(319, 95%, 17%) |
| CMYK | cmyk(0%, 95.5%, 29.5%, 82.7%) |
| CIE-LAB | lab(6.12, 24.45, -8.24) |
| CIE-LCH | lch(6.12, 25.80, 341.38°) |
| OKLab | oklab(19.99% 0.0762 -0.0229) |
| OKLCH | oklch(19.99% 0.08 343.3) |
| XYZ | xyz(1.3078, 0.6780, 1.3580) |
| Luminance | 0.0068 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Plum
#3F012C
ΔE00 4.76
Aubergine
#3D0734
ΔE00 5.50
Eggplant
#380835
ΔE00 5.77
Very Dark Purple
#2A0134
ΔE00 7.98
Eggplant Purple
#430541
ΔE00 8.77
Dark Purple
#35063E
ΔE00 8.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C021F #022C0F
analogous
#24022C #2C021F #2C020A
triadic
#2C021F #1F2C02 #021F2C
tetradic
#2C021F #2C2402 #022C0F #020A2C
square
#2C021F #2C2402 #022C0F #020A2C
split-complementary
#2C021F #0A2C02 #022C24
monochromatic
#1D0115 #1D0115 #2C021F #670548 #A10771
Accessibility & contrast
On white
18.49
#2C021F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.14
#2C021F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C021F
18.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C021F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C021F | 1.00 | 18.49 | 1.14 | 18.49 |
| #FFFFFF | 18.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 18.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#050F20
Deuteranopia (green-blind)
#13161E
Tritanopia (blue-blind)
#30020F
Achromatopsia (no color)
#141414
Design tokens & code
CSS
--color: #2c021f; /* rgb */ color: rgb(44, 2, 31); /* oklch */ color: oklch(20.0% 0.080 343.3);
Tailwind
colors: {
custom: {
50: '#67475a',
500: '#2c021f',
950: '#000000',
},
}SCSS
$custom: #2c021f; $custom-light: #67475a; $custom-dark: #000000;
JSON
{
"hex": "#2c021f",
"rgb": {
"r": 44,
"g": 2,
"b": 31
},
"hsl": {
"h": 318.571,
"s": 91.304,
"l": 9.02
},
"oklch": {
"l": 0.19988,
"c": 0.07956,
"h": 343.3
},
"luminance": 0.00678
}Semantic roles & 50–950 ramp
primary
#2C021F
secondary
#197134
accent
#FF6B29
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#060003
muted
#7A7778