#42102C#42102C
#42102C is a dark, moderate pink. Relative luminance 0.017; OKLCH L 26.9% C 0.084 H 349.7°. Best body text is #FFFFFF at 15.65:1 contrast (WCAG AA passes).
Color values
| HEX | #42102C |
|---|---|
| RGB | rgb(66, 16, 44) |
| HSL | hsl(326, 61%, 16%) |
| HSV | hsv(326, 76%, 26%) |
| CMYK | cmyk(0%, 75.8%, 33.3%, 74.1%) |
| CIE-LAB | lab(13.89, 27.16, -5.76) |
| CIE-LCH | lch(13.89, 27.77, 348.02°) |
| OKLab | oklab(26.88% 0.0827 -0.015) |
| OKLCH | oklch(26.88% 0.084 349.7) |
| XYZ | xyz(2.8868, 1.7110, 2.5606) |
| Luminance | 0.0171 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Plum
#3F012C
ΔE00 3.71
Aubergine
#3D0734
ΔE00 5.21
Plum (survey)
#580F41
ΔE00 6.17
Eggplant
#380835
ΔE00 6.47
Eggplant Purple
#430541
ΔE00 8.23
Deep Violet
#490648
ΔE00 9.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42102C #104226
analogous
#3F1042 #42102C #421013
triadic
#42102C #2C4210 #102C42
tetradic
#42102C #423F10 #104226 #101342
square
#42102C #423F10 #104226 #101342
split-complementary
#42102C #134210 #10423F
monochromatic
#190610 #190610 #42102C #731C4D #A5286E
Accessibility & contrast
On white
15.65
#42102C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.34
#42102C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #42102C
15.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42102C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##42102C | 1.00 | 15.65 | 1.34 | 15.65 |
| #FFFFFF | 15.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#171E2D
Deuteranopia (green-blind)
#25272B
Tritanopia (blue-blind)
#470E1C
Achromatopsia (no color)
#232323
Design tokens & code
CSS
--color: #42102c; /* rgb */ color: rgb(66, 16, 44); /* oklch */ color: oklch(26.9% 0.084 349.7);
Tailwind
colors: {
custom: {
50: '#795265',
500: '#42102c',
950: '#000000',
},
}SCSS
$custom: #42102c; $custom-light: #795265; $custom-dark: #000000;
JSON
{
"hex": "#42102c",
"rgb": {
"r": 66,
"g": 16,
"b": 44
},
"hsl": {
"h": 326.4,
"s": 60.976,
"l": 16.078
},
"oklch": {
"l": 0.26875,
"c": 0.08401,
"h": 349.7
},
"luminance": 0.01711
}Semantic roles & 50–950 ramp
primary
#42102C
secondary
#327C52
accent
#E48A44
background
#F7F4F6
surface
#EEE7EB
border
#C9C3C6
text
#090205
muted
#7B787A