#38121E#38121E

#38121E is a very dark, moderate pink. Relative luminance 0.014; OKLCH L 24.7% C 0.062 H 3.0°. Best body text is #FFFFFF at 16.49:1 contrast (WCAG AA passes).

Color values

HEX#38121E
RGBrgb(56, 18, 30)
HSLhsl(341, 51%, 15%)
HSVhsv(341, 68%, 22%)
CMYKcmyk(0%, 67.9%, 46.4%, 78%)
CIE-LABlab(11.74, 20.33, 1.17)
CIE-LCHlch(11.74, 20.37, 3.29°)
OKLaboklab(24.71% 0.062 0.0033)
OKLCHoklch(24.71% 0.062 3)
XYZxyz(2.0817, 1.3673, 1.3823)
Luminance0.0137 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38121E #12382C
analogous
#381231 #38121E #381912
triadic
#38121E #1E3812 #121E38
tetradic
#38121E #313812 #12382C #191238
square
#38121E #313812 #12382C #191238
split-complementary
#38121E #123819 #123138
monochromatic
#17070C #17070C #38121E #662137 #953050

Accessibility & contrast

On white

16.49
#38121E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#38121E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38121E
16.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38121E#FFFFFF#000000##FFFFFF
##38121E1.0016.491.2716.49
#FFFFFF16.491.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#191A1E
Deuteranopia (green-blind)
#23221D
Tritanopia (blue-blind)
#3D0E17
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #38121e;
/* rgb */ color: rgb(56, 18, 30);
/* oklch */ color: oklch(24.7% 0.062 3.0);
Tailwind
colors: {
  custom: {
    50: '#715259',
    500: '#38121e',
    950: '#000000',
  },
}
SCSS
$custom: #38121e;
$custom-light: #715259;
$custom-dark: #000000;
JSON
{
  "hex": "#38121e",
  "rgb": {
    "r": 56,
    "g": 18,
    "b": 30
  },
  "hsl": {
    "h": 341.053,
    "s": 51.351,
    "l": 14.51
  },
  "oklch": {
    "l": 0.24714,
    "c": 0.06206,
    "h": 3
  },
  "luminance": 0.01367
}

Semantic roles & 50–950 ramp

primary
#38121E
secondary
#35715E
accent
#DBAE4D
background
#F7F4F5
surface
#EDE7E9
border
#C8C3C5
text
#080203
muted
#7B7878

Preview Lab

Preview with #38121E

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#38121E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva