#38051E#38051E

#38051E is a very dark, moderate pink. Relative luminance 0.010; OKLCH L 22.9% C 0.083 H 356.0°. Best body text is #FFFFFF at 17.38:1 contrast (WCAG AA passes).

Color values

HEX#38051E
RGBrgb(56, 5, 30)
HSLhsl(331, 84%, 12%)
HSVhsv(331, 91%, 22%)
CMYKcmyk(0%, 91.1%, 46.4%, 78%)
CIE-LABlab(9.35, 26.91, -2.34)
CIE-LCHlch(9.35, 27.01, 355.03°)
OKLaboklab(22.95% 0.0828 -0.0058)
OKLCHoklch(22.95% 0.083 356)
XYZxyz(1.9196, 1.0433, 1.3283)
Luminance0.0104 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38051E #05381F
analogous
#380538 #38051E #380505
triadic
#38051E #1E3805 #051E38
tetradic
#38051E #383805 #05381F #050538
square
#38051E #383805 #05381F #050538
split-complementary
#38051E #053805 #053838
monochromatic
#1C030F #1C030F #38051E #700A3C #A80F5A

Accessibility & contrast

On white

17.38
#38051E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#38051E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38051E
17.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38051E#FFFFFF#000000##FFFFFF
##38051E1.0017.381.2117.38
#FFFFFF17.381.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F141F
Deuteranopia (green-blind)
#1E1E1D
Tritanopia (blue-blind)
#3D0110
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #38051e;
/* rgb */ color: rgb(56, 5, 30);
/* oklch */ color: oklch(22.9% 0.083 356.0);
Tailwind
colors: {
  custom: {
    50: '#724b59',
    500: '#38051e',
    950: '#000000',
  },
}
SCSS
$custom: #38051e;
$custom-light: #724b59;
$custom-dark: #000000;
JSON
{
  "hex": "#38051e",
  "rgb": {
    "r": 56,
    "g": 5,
    "b": 30
  },
  "hsl": {
    "h": 330.588,
    "s": 83.607,
    "l": 11.961
  },
  "oklch": {
    "l": 0.22946,
    "c": 0.083,
    "h": 356
  },
  "luminance": 0.01043
}

Semantic roles & 50–950 ramp

primary
#38051E
secondary
#20794D
accent
#FA962E
background
#F7F4F5
surface
#EDE7E9
border
#C8C3C5
text
#080103
muted
#7B7778

Preview Lab

Preview with #38051E

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

Preview Lab → · Contrast checker → · Palette generator →

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