#38072B#38072B

#38072B is a very dark, moderate pink. Relative luminance 0.012; OKLCH L 23.9% C 0.088 H 340.9°. Best body text is #FFFFFF at 17.03:1 contrast (WCAG AA passes).

Color values

HEX#38072B
RGBrgb(56, 7, 43)
HSLhsl(316, 78%, 12%)
HSVhsv(316, 88%, 22%)
CMYKcmyk(0%, 87.5%, 23.2%, 78%)
CIE-LABlab(10.31, 27.83, -10.69)
CIE-LCHlch(10.31, 29.81, 338.99°)
OKLaboklab(23.85% 0.0833 -0.0288)
OKLCHoklch(23.85% 0.088 340.9)
XYZxyz(2.1430, 1.1673, 2.3975)
Luminance0.0117 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38072B #073814
analogous
#2C0738 #38072B #380713
triadic
#38072B #2B3807 #072B38
tetradic
#38072B #382C07 #073814 #071338
square
#38072B #382C07 #073814 #071338
split-complementary
#38072B #133807 #07382C
monochromatic
#1B0315 #1B0315 #38072B #6E0E55 #A5157F

Accessibility & contrast

On white

17.03
#38072B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#38072B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38072B
17.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38072B#FFFFFF#000000##FFFFFF
##38072B1.0017.031.2317.03
#FFFFFF17.031.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B172C
Deuteranopia (green-blind)
#1B1F2A
Tritanopia (blue-blind)
#3C0818
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #38072b;
/* rgb */ color: rgb(56, 7, 43);
/* oklch */ color: oklch(23.9% 0.088 340.9);
Tailwind
colors: {
  custom: {
    50: '#714c64',
    500: '#38072b',
    950: '#000000',
  },
}
SCSS
$custom: #38072b;
$custom-light: #714c64;
$custom-dark: #000000;
JSON
{
  "hex": "#38072b",
  "rgb": {
    "r": 56,
    "g": 7,
    "b": 43
  },
  "hsl": {
    "h": 315.918,
    "s": 77.778,
    "l": 12.353
  },
  "oklch": {
    "l": 0.23854,
    "c": 0.08816,
    "h": 340.9
  },
  "luminance": 0.01167
}

Semantic roles & 50–950 ramp

primary
#38072B
secondary
#23783A
accent
#F46734
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#080105
muted
#7B777A

Preview Lab

Preview with #38072B

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

Preview Lab → · Contrast checker → · Palette generator →

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