#38071F#38071F

#38071F is a very dark, moderate pink. Relative luminance 0.011; OKLCH L 23.2% C 0.080 H 355.5°. Best body text is #FFFFFF at 17.24:1 contrast (WCAG AA passes).

Color values

HEX#38071F
RGBrgb(56, 7, 31)
HSLhsl(331, 78%, 12%)
HSVhsv(331, 88%, 22%)
CMYKcmyk(0%, 87.5%, 44.6%, 78%)
CIE-LABlab(9.73, 26.05, -2.53)
CIE-LCHlch(9.73, 26.18, 354.46°)
OKLaboklab(23.24% 0.08 -0.0063)
OKLCHoklch(23.24% 0.08 355.5)
XYZxyz(1.9543, 1.0919, 1.4039)
Luminance0.0109 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38071F #073820
analogous
#380738 #38071F #380707
triadic
#38071F #1F3807 #071F38
tetradic
#38071F #383807 #073820 #070738
square
#38071F #383807 #073820 #070738
split-complementary
#38071F #073807 #073838
monochromatic
#1B030F #1B030F #38071F #6E0E3D #A5155B

Accessibility & contrast

On white

17.24
#38071F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #38071F
17.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38071F#FFFFFF#000000##FFFFFF
##38071F1.0017.241.2217.24
#FFFFFF17.241.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#111520
Deuteranopia (green-blind)
#1E1E1E
Tritanopia (blue-blind)
#3D0311
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #38071f;
/* rgb */ color: rgb(56, 7, 31);
/* oklch */ color: oklch(23.2% 0.080 355.5);
Tailwind
colors: {
  custom: {
    50: '#724c5a',
    500: '#38071f',
    950: '#000000',
  },
}
SCSS
$custom: #38071f;
$custom-light: #724c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#38071f",
  "rgb": {
    "r": 56,
    "g": 7,
    "b": 31
  },
  "hsl": {
    "h": 330.612,
    "s": 77.778,
    "l": 12.353
  },
  "oklch": {
    "l": 0.23243,
    "c": 0.08028,
    "h": 355.5
  },
  "luminance": 0.01092
}

Semantic roles & 50–950 ramp

primary
#38071F
secondary
#23784E
accent
#F49634
background
#F7F4F5
surface
#EDE7E9
border
#C8C3C5
text
#080103
muted
#7B7778

Preview Lab

Preview with #38071F

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

Preview Lab → · Contrast checker → · Palette generator →

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