#38071B#38071B

#38071B is a very dark, moderate pink. Relative luminance 0.011; OKLCH L 23.1% C 0.078 H 0.8°. Best body text is #FFFFFF at 17.29:1 contrast (WCAG AA passes).

Color values

HEX#38071B
RGBrgb(56, 7, 27)
HSLhsl(336, 78%, 12%)
HSVhsv(336, 88%, 22%)
CMYKcmyk(0%, 87.5%, 51.8%, 78%)
CIE-LABlab(9.58, 25.56, 0.30)
CIE-LCHlch(9.58, 25.56, 0.68°)
OKLaboklab(23.08% 0.0785 0.0011)
OKLCHoklch(23.08% 0.078 0.8)
XYZxyz(1.9048, 1.0721, 1.1433)
Luminance0.0107 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38071B #073824
analogous
#380734 #38071B #380B07
triadic
#38071B #1B3807 #071B38
tetradic
#38071B #343807 #073824 #0B0738
square
#38071B #343807 #073824 #0B0738
split-complementary
#38071B #07380B #073438
monochromatic
#1B030D #1B030D #38071B #6E0E35 #A5154F

Accessibility & contrast

On white

17.29
#38071B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#38071B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38071B
17.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38071B#FFFFFF#000000##FFFFFF
##38071B1.0017.291.2117.29
#FFFFFF17.291.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12151B
Deuteranopia (green-blind)
#1F1E1A
Tritanopia (blue-blind)
#3E0210
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #38071b;
/* rgb */ color: rgb(56, 7, 27);
/* oklch */ color: oklch(23.1% 0.078 0.8);
Tailwind
colors: {
  custom: {
    50: '#724c57',
    500: '#38071b',
    950: '#000000',
  },
}
SCSS
$custom: #38071b;
$custom-light: #724c57;
$custom-dark: #000000;
JSON
{
  "hex": "#38071b",
  "rgb": {
    "r": 56,
    "g": 7,
    "b": 27
  },
  "hsl": {
    "h": 335.51,
    "s": 77.778,
    "l": 12.353
  },
  "oklch": {
    "l": 0.23077,
    "c": 0.07847,
    "h": 0.8
  },
  "luminance": 0.01072
}

Semantic roles & 50–950 ramp

primary
#38071B
secondary
#237855
accent
#F4A634
background
#F7F4F5
surface
#EDE7E9
border
#C8C3C5
text
#080103
muted
#7B7778

Preview Lab

Preview with #38071B

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

Preview Lab → · Contrast checker → · Palette generator →

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