#38081F#38081F

#38081F is a very dark, moderate pink. Relative luminance 0.011; OKLCH L 23.4% C 0.079 H 355.9°. Best body text is #FFFFFF at 17.18:1 contrast (WCAG AA passes).

Color values

HEX#38081F
RGBrgb(56, 8, 31)
HSLhsl(331, 75%, 13%)
HSVhsv(331, 86%, 22%)
CMYKcmyk(0%, 85.7%, 44.6%, 78%)
CIE-LABlab(9.90, 25.58, -2.28)
CIE-LCHlch(9.90, 25.68, 354.92°)
OKLaboklab(23.37% 0.0785 -0.0057)
OKLCHoklch(23.37% 0.079 355.9)
XYZxyz(1.9652, 1.1136, 1.4075)
Luminance0.0111 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38081F #083821
analogous
#380837 #38081F #380908
triadic
#38081F #1F3808 #081F38
tetradic
#38081F #373808 #083821 #090838
square
#38081F #373808 #083821 #090838
split-complementary
#38081F #083809 #083738
monochromatic
#1B040F #1B040F #38081F #6E103D #A3175A

Accessibility & contrast

On white

17.18
#38081F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#38081F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38081F
17.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38081F#FFFFFF#000000##FFFFFF
##38081F1.0017.181.2217.18
#FFFFFF17.181.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#111620
Deuteranopia (green-blind)
#1F1F1E
Tritanopia (blue-blind)
#3D0412
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #38081f;
/* rgb */ color: rgb(56, 8, 31);
/* oklch */ color: oklch(23.4% 0.079 355.9);
Tailwind
colors: {
  custom: {
    50: '#724c5a',
    500: '#38081f',
    950: '#000000',
  },
}
SCSS
$custom: #38081f;
$custom-light: #724c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#38081f",
  "rgb": {
    "r": 56,
    "g": 8,
    "b": 31
  },
  "hsl": {
    "h": 331.25,
    "s": 75,
    "l": 12.549
  },
  "oklch": {
    "l": 0.23367,
    "c": 0.07871,
    "h": 355.9
  },
  "luminance": 0.01113
}

Semantic roles & 50–950 ramp

primary
#38081F
secondary
#257750
accent
#F29836
background
#F7F4F5
surface
#EDE7E9
border
#C8C3C5
text
#080103
muted
#7B7778

Preview Lab

Preview with #38081F

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

Preview Lab → · Contrast checker → · Palette generator →

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