#38102E#38102E
#38102E is a dark, moderate pink. Relative luminance 0.014; OKLCH L 25.1% C 0.076 H 338.7°. Best body text is #FFFFFF at 16.38:1 contrast (WCAG AA passes).
Color values
| HEX | #38102E |
|---|---|
| RGB | rgb(56, 16, 46) |
| HSL | hsl(315, 56%, 14%) |
| HSV | hsv(315, 71%, 22%) |
| CMYK | cmyk(0%, 71.4%, 17.9%, 78%) |
| CIE-LAB | lab(12.02, 24.06, -10.27) |
| CIE-LCH | lch(12.02, 26.16, 336.89°) |
| OKLab | oklab(25.15% 0.071 -0.0277) |
| OKLCH | oklch(25.15% 0.076 338.7) |
| XYZ | xyz(2.3094, 1.4088, 2.7345) |
| Luminance | 0.0141 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Aubergine
#3D0734
ΔE00 3.51
Eggplant
#380835
ΔE00 3.94
Dark Plum
#3F012C
ΔE00 4.00
Eggplant Purple
#430541
ΔE00 6.62
Dark Purple
#35063E
ΔE00 7.21
Plum (survey)
#580F41
ΔE00 7.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#38102E #10381A
analogous
#2E1038 #38102E #38101A
triadic
#38102E #2E3810 #102E38
tetradic
#38102E #382E10 #10381A #101A38
square
#38102E #382E10 #10381A #101A38
split-complementary
#38102E #1A3810 #10382E
monochromatic
#180714 #180714 #38102E #681E55 #972B7C
Accessibility & contrast
On white
16.38
#38102E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.28
#38102E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #38102E
16.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##38102E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##38102E | 1.00 | 16.38 | 1.28 | 16.38 |
| #FFFFFF | 16.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 16.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#121C2F
Deuteranopia (green-blind)
#1E222D
Tritanopia (blue-blind)
#3B111D
Achromatopsia (no color)
#202020
Design tokens & code
CSS
--color: #38102e; /* rgb */ color: rgb(56, 16, 46); /* oklch */ color: oklch(25.1% 0.076 338.7);
Tailwind
colors: {
custom: {
50: '#705166',
500: '#38102e',
950: '#000000',
},
}SCSS
$custom: #38102e; $custom-light: #705166; $custom-dark: #000000;
JSON
{
"hex": "#38102e",
"rgb": {
"r": 56,
"g": 16,
"b": 46
},
"hsl": {
"h": 315,
"s": 55.556,
"l": 14.118
},
"oklch": {
"l": 0.25147,
"c": 0.07619,
"h": 338.7
},
"luminance": 0.01409
}Semantic roles & 50–950 ramp
primary
#38102E
secondary
#327242
accent
#DF6E49
background
#F6F4F6
surface
#ECE7EB
border
#C7C3C6
text
#080206
muted
#7B787A