#38071D#38071D

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

Color values

HEX#38071D
RGBrgb(56, 7, 29)
HSLhsl(333, 78%, 12%)
HSVhsv(333, 88%, 22%)
CMYKcmyk(0%, 87.5%, 48.2%, 78%)
CIE-LABlab(9.65, 25.80, -1.12)
CIE-LCHlch(9.65, 25.83, 357.52°)
OKLaboklab(23.16% 0.0793 -0.0026)
OKLCHoklch(23.16% 0.079 358.1)
XYZxyz(1.9288, 1.0817, 1.2694)
Luminance0.0108 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38071D #073822
analogous
#380736 #38071D #380907
triadic
#38071D #1D3807 #071D38
tetradic
#38071D #363807 #073822 #090738
square
#38071D #363807 #073822 #090738
split-complementary
#38071D #073809 #073638
monochromatic
#1B030E #1B030E #38071D #6E0E39 #A51555

Accessibility & contrast

On white

17.27
#38071D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #38071D
17.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38071D#FFFFFF#000000##FFFFFF
##38071D1.0017.271.2217.27
#FFFFFF17.271.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11151E
Deuteranopia (green-blind)
#1F1E1C
Tritanopia (blue-blind)
#3D0210
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #38071d;
/* rgb */ color: rgb(56, 7, 29);
/* oklch */ color: oklch(23.2% 0.079 358.1);
Tailwind
colors: {
  custom: {
    50: '#724c58',
    500: '#38071d',
    950: '#000000',
  },
}
SCSS
$custom: #38071d;
$custom-light: #724c58;
$custom-dark: #000000;
JSON
{
  "hex": "#38071d",
  "rgb": {
    "r": 56,
    "g": 7,
    "b": 29
  },
  "hsl": {
    "h": 333.061,
    "s": 77.778,
    "l": 12.353
  },
  "oklch": {
    "l": 0.23158,
    "c": 0.07931,
    "h": 358.1
  },
  "luminance": 0.01081
}

Semantic roles & 50–950 ramp

primary
#38071D
secondary
#237852
accent
#F49E34
background
#F7F4F5
surface
#EDE7E9
border
#C8C3C5
text
#080103
muted
#7B7778

Preview Lab

Preview with #38071D

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

Preview Lab → · Contrast checker → · Palette generator →

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