#38112E#38112E
#38112E is a dark, moderate pink. Relative luminance 0.014; OKLCH L 25.3% C 0.074 H 338.8°. Best body text is #FFFFFF at 16.31:1 contrast (WCAG AA passes).
Color values
| HEX | #38112E |
|---|---|
| RGB | rgb(56, 17, 46) |
| HSL | hsl(315, 53%, 14%) |
| HSV | hsv(315, 70%, 22%) |
| CMYK | cmyk(0%, 69.6%, 17.9%, 78%) |
| CIE-LAB | lab(12.22, 23.51, -9.96) |
| CIE-LCH | lch(12.22, 25.54, 337.05°) |
| OKLab | oklab(25.29% 0.0694 -0.0268) |
| OKLCH | oklch(25.29% 0.074 338.8) |
| XYZ | xyz(2.3245, 1.4391, 2.7396) |
| Luminance | 0.0144 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Aubergine
#3D0734
ΔE00 3.81
Eggplant
#380835
ΔE00 4.21
Dark Plum
#3F012C
ΔE00 4.26
Eggplant Purple
#430541
ΔE00 6.87
Dark Purple
#35063E
ΔE00 7.44
Plum (survey)
#580F41
ΔE00 7.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#38112E #11381B
analogous
#2F1138 #38112E #38111B
triadic
#38112E #2E3811 #112E38
tetradic
#38112E #382F11 #11381B #111B38
square
#38112E #382F11 #11381B #111B38
split-complementary
#38112E #1B3811 #11382F
monochromatic
#170713 #170713 #38112E #671F55 #962E7B
Accessibility & contrast
On white
16.31
#38112E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.29
#38112E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #38112E
16.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##38112E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##38112E | 1.00 | 16.31 | 1.29 | 16.31 |
| #FFFFFF | 16.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 16.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#131C2F
Deuteranopia (green-blind)
#1E222D
Tritanopia (blue-blind)
#3B121D
Achromatopsia (no color)
#202020
Design tokens & code
CSS
--color: #38112e; /* rgb */ color: rgb(56, 17, 46); /* oklch */ color: oklch(25.3% 0.074 338.8);
Tailwind
colors: {
custom: {
50: '#705266',
500: '#38112e',
950: '#000000',
},
}SCSS
$custom: #38112e; $custom-light: #705266; $custom-dark: #000000;
JSON
{
"hex": "#38112e",
"rgb": {
"r": 56,
"g": 17,
"b": 46
},
"hsl": {
"h": 315.385,
"s": 53.425,
"l": 14.314
},
"oklch": {
"l": 0.25294,
"c": 0.07437,
"h": 338.8
},
"luminance": 0.01439
}Semantic roles & 50–950 ramp
primary
#38112E
secondary
#347143
accent
#DD704B
background
#F6F4F6
surface
#ECE7EB
border
#C7C3C6
text
#080206
muted
#7B787A