#38051F#38051F

#38051F is a very dark, moderate pink. Relative luminance 0.010; OKLCH L 23.0% C 0.084 H 354.7°. Best body text is #FFFFFF at 17.36:1 contrast (WCAG AA passes).

Color values

HEX#38051F
RGBrgb(56, 5, 31)
HSLhsl(329, 84%, 12%)
HSVhsv(329, 91%, 22%)
CMYKcmyk(0%, 91.1%, 44.6%, 78%)
CIE-LABlab(9.39, 27.03, -3.04)
CIE-LCHlch(9.39, 27.21, 353.58°)
OKLaboklab(22.99% 0.0832 -0.0077)
OKLCHoklch(22.99% 0.084 354.7)
XYZxyz(1.9326, 1.0485, 1.3967)
Luminance0.0105 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38051F #05381E
analogous
#380538 #38051F #380505
triadic
#38051F #1F3805 #051F38
tetradic
#38051F #383805 #05381E #050538
square
#38051F #383805 #05381E #050538
split-complementary
#38051F #053805 #053838
monochromatic
#1C0310 #1C0310 #38051F #700A3E #A80F5D

Accessibility & contrast

On white

17.36
#38051F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #38051F
17.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38051F#FFFFFF#000000##FFFFFF
##38051F1.0017.361.2117.36
#FFFFFF17.361.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F1420
Deuteranopia (green-blind)
#1E1E1E
Tritanopia (blue-blind)
#3D0111
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #38051f;
/* rgb */ color: rgb(56, 5, 31);
/* oklch */ color: oklch(23.0% 0.084 354.7);
Tailwind
colors: {
  custom: {
    50: '#724b5a',
    500: '#38051f',
    950: '#000000',
  },
}
SCSS
$custom: #38051f;
$custom-light: #724b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#38051f",
  "rgb": {
    "r": 56,
    "g": 5,
    "b": 31
  },
  "hsl": {
    "h": 329.412,
    "s": 83.607,
    "l": 11.961
  },
  "oklch": {
    "l": 0.2299,
    "c": 0.0835,
    "h": 354.7
  },
  "luminance": 0.01048
}

Semantic roles & 50–950 ramp

primary
#38051F
secondary
#20794C
accent
#FA922E
background
#F7F4F5
surface
#EDE7E9
border
#C8C3C5
text
#080103
muted
#7B7778

Preview Lab

Preview with #38051F

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

Preview Lab → · Contrast checker → · Palette generator →

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