#38121F#38121F
#38121F is a very dark, moderate pink. Relative luminance 0.014; OKLCH L 24.8% C 0.062 H 1.4°. Best body text is #FFFFFF at 16.48:1 contrast (WCAG AA passes).
Color values
| HEX | #38121F |
|---|---|
| RGB | rgb(56, 18, 31) |
| HSL | hsl(339, 51%, 15%) |
| HSV | hsv(339, 68%, 22%) |
| CMYK | cmyk(0%, 67.9%, 44.6%, 78%) |
| CIE-LAB | lab(11.77, 20.47, 0.47) |
| CIE-LCH | lch(11.77, 20.47, 1.32°) |
| OKLab | oklab(24.75% 0.0624 0.0015) |
| OKLCH | oklch(24.75% 0.062 1.4) |
| XYZ | xyz(2.0946, 1.3725, 1.4507) |
| Luminance | 0.0137 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Maroon
#3C0008
ΔE00 7.62
Dark Plum
#3F012C
ΔE00 8.25
Aubergine
#3D0734
ΔE00 9.73
Very Dark Brown
#1D0200
ΔE00 10.07
Deep Brown
#410200
ΔE00 10.41
Eggplant
#380835
ΔE00 10.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#38121F #12382B
analogous
#381232 #38121F #381812
triadic
#38121F #1F3812 #121F38
tetradic
#38121F #323812 #12382B #181238
square
#38121F #323812 #12382B #181238
split-complementary
#38121F #123818 #123238
monochromatic
#17070D #17070D #38121F #662139 #953052
Accessibility & contrast
On white
16.48
#38121F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.27
#38121F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #38121F
16.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##38121F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##38121F | 1.00 | 16.48 | 1.27 | 16.48 |
| #FFFFFF | 16.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 16.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#191B1F
Deuteranopia (green-blind)
#23221E
Tritanopia (blue-blind)
#3D0E17
Achromatopsia (no color)
#1F1F1F
Design tokens & code
CSS
--color: #38121f; /* rgb */ color: rgb(56, 18, 31); /* oklch */ color: oklch(24.8% 0.062 1.4);
Tailwind
colors: {
custom: {
50: '#71525a',
500: '#38121f',
950: '#000000',
},
}SCSS
$custom: #38121f; $custom-light: #71525a; $custom-dark: #000000;
JSON
{
"hex": "#38121f",
"rgb": {
"r": 56,
"g": 18,
"b": 31
},
"hsl": {
"h": 339.474,
"s": 51.351,
"l": 14.51
},
"oklch": {
"l": 0.24752,
"c": 0.06243,
"h": 1.4
},
"luminance": 0.01372
}Semantic roles & 50–950 ramp
primary
#38121F
secondary
#35715C
accent
#DBAA4D
background
#F7F4F5
surface
#EDE7E9
border
#C8C3C5
text
#080203
muted
#7B7878