#38031F#38031F

#38031F is a very dark, moderate pink. Relative luminance 0.010; OKLCH L 22.7% C 0.087 H 354.0°. Best body text is #FFFFFF at 17.49:1 contrast (WCAG AA passes).

Color values

HEX#38031F
RGBrgb(56, 3, 31)
HSLhsl(328, 90%, 12%)
HSVhsv(328, 95%, 22%)
CMYKcmyk(0%, 94.6%, 44.6%, 78%)
CIE-LABlab(9.03, 28.05, -3.57)
CIE-LCHlch(9.03, 28.28, 352.74°)
OKLaboklab(22.73% 0.0864 -0.0091)
OKLCHoklch(22.73% 0.087 354)
XYZxyz(1.9109, 1.0051, 1.3894)
Luminance0.0100 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38031F #03381C
analogous
#370338 #38031F #380304
triadic
#38031F #1F3803 #031F38
tetradic
#38031F #383703 #03381C #030438
square
#38031F #383703 #03381C #030438
split-complementary
#38031F #043803 #033837
monochromatic
#1D0210 #1D0210 #38031F #72063F #AC095F

Accessibility & contrast

On white

17.49
#38031F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#38031F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38031F
17.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38031F#FFFFFF#000000##FFFFFF
##38031F1.0017.491.2017.49
#FFFFFF17.491.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D1320
Deuteranopia (green-blind)
#1D1D1E
Tritanopia (blue-blind)
#3D0010
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #38031f;
/* rgb */ color: rgb(56, 3, 31);
/* oklch */ color: oklch(22.7% 0.087 354.0);
Tailwind
colors: {
  custom: {
    50: '#724a5a',
    500: '#38031f',
    950: '#000000',
  },
}
SCSS
$custom: #38031f;
$custom-light: #724a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#38031f",
  "rgb": {
    "r": 56,
    "g": 3,
    "b": 31
  },
  "hsl": {
    "h": 328.302,
    "s": 89.831,
    "l": 11.569
  },
  "oklch": {
    "l": 0.22732,
    "c": 0.08689,
    "h": 354
  },
  "luminance": 0.01005
}

Semantic roles & 50–950 ramp

primary
#38031F
secondary
#1C7B49
accent
#FF8E29
background
#F7F4F5
surface
#EDE7E9
border
#C8C3C5
text
#080103
muted
#7B7778

Preview Lab

Preview with #38031F

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

Preview Lab → · Contrast checker → · Palette generator →

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