#38031B#38031B

#38031B is a very dark, moderate pink. Relative luminance 0.010; OKLCH L 22.6% C 0.085 H 358.9°. Best body text is #FFFFFF at 17.54:1 contrast (WCAG AA passes).

Color values

HEX#38031B
RGBrgb(56, 3, 27)
HSLhsl(333, 90%, 12%)
HSVhsv(333, 95%, 22%)
CMYKcmyk(0%, 94.6%, 51.8%, 78%)
CIE-LABlab(8.87, 27.58, -0.73)
CIE-LCHlch(8.87, 27.59, 358.47°)
OKLaboklab(22.56% 0.085 -0.0016)
OKLCHoklch(22.56% 0.085 358.9)
XYZxyz(1.8614, 0.9853, 1.1289)
Luminance0.0098 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38031B #033820
analogous
#380336 #38031B #380503
triadic
#38031B #1B3803 #031B38
tetradic
#38031B #363803 #033820 #050338
square
#38031B #363803 #033820 #050338
split-complementary
#38031B #033805 #033638
monochromatic
#1D020E #1D020E #38031B #720637 #AC0953

Accessibility & contrast

On white

17.54
#38031B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #38031B
17.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38031B#FFFFFF#000000##FFFFFF
##38031B1.0017.541.2017.54
#FFFFFF17.541.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F131C
Deuteranopia (green-blind)
#1E1D1A
Tritanopia (blue-blind)
#3E000D
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #38031b;
/* rgb */ color: rgb(56, 3, 27);
/* oklch */ color: oklch(22.6% 0.085 358.9);
Tailwind
colors: {
  custom: {
    50: '#724a57',
    500: '#38031b',
    950: '#000000',
  },
}
SCSS
$custom: #38031b;
$custom-light: #724a57;
$custom-dark: #000000;
JSON
{
  "hex": "#38031b",
  "rgb": {
    "r": 56,
    "g": 3,
    "b": 27
  },
  "hsl": {
    "h": 332.83,
    "s": 89.831,
    "l": 11.569
  },
  "oklch": {
    "l": 0.22557,
    "c": 0.08498,
    "h": 358.9
  },
  "luminance": 0.00985
}

Semantic roles & 50–950 ramp

primary
#38031B
secondary
#1C7B50
accent
#FF9E29
background
#F7F4F5
surface
#EDE7E9
border
#C8C3C5
text
#080103
muted
#7B7778

Preview Lab

Preview with #38031B

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

Preview Lab → · Contrast checker → · Palette generator →

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