#38072F#38072F

#38072F is a very dark, moderate pink. Relative luminance 0.012; OKLCH L 24.1% C 0.091 H 336.7°. Best body text is #FFFFFF at 16.94:1 contrast (WCAG AA passes).

Color values

HEX#38072F
RGBrgb(56, 7, 47)
HSLhsl(311, 78%, 12%)
HSVhsv(311, 88%, 22%)
CMYKcmyk(0%, 87.5%, 16.1%, 78%)
CIE-LABlab(10.54, 28.51, -13.29)
CIE-LCHlch(10.54, 31.46, 335.01°)
OKLaboklab(24.1% 0.0839 -0.0362)
OKLCHoklch(24.1% 0.091 336.7)
XYZxyz(2.2200, 1.1982, 2.8031)
Luminance0.0120 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38072F #073810
analogous
#280738 #38072F #380717
triadic
#38072F #2F3807 #072F38
tetradic
#38072F #382807 #073810 #071738
square
#38072F #382807 #073810 #071738
split-complementary
#38072F #173807 #073828
monochromatic
#1B0317 #1B0317 #38072F #6E0E5D #A5158A

Accessibility & contrast

On white

16.94
#38072F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#38072F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38072F
16.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38072F#FFFFFF#000000##FFFFFF
##38072F1.0016.941.2416.94
#FFFFFF16.941.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#081830
Deuteranopia (green-blind)
#191F2E
Tritanopia (blue-blind)
#3B0A1A
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #38072f;
/* rgb */ color: rgb(56, 7, 47);
/* oklch */ color: oklch(24.1% 0.091 336.7);
Tailwind
colors: {
  custom: {
    50: '#714d67',
    500: '#38072f',
    950: '#000000',
  },
}
SCSS
$custom: #38072f;
$custom-light: #714d67;
$custom-dark: #000000;
JSON
{
  "hex": "#38072f",
  "rgb": {
    "r": 56,
    "g": 7,
    "b": 47
  },
  "hsl": {
    "h": 311.02,
    "s": 77.778,
    "l": 12.353
  },
  "oklch": {
    "l": 0.24095,
    "c": 0.09138,
    "h": 336.7
  },
  "luminance": 0.01198
}

Semantic roles & 50–950 ramp

primary
#38072F
secondary
#237833
accent
#F45734
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#080106
muted
#7B777A

Preview Lab

Preview with #38072F

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

Preview Lab → · Contrast checker → · Palette generator →

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