#38031E#38031E

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

Color values

HEX#38031E
RGBrgb(56, 3, 30)
HSLhsl(329, 90%, 12%)
HSVhsv(329, 95%, 22%)
CMYKcmyk(0%, 94.6%, 46.4%, 78%)
CIE-LABlab(8.99, 27.93, -2.87)
CIE-LCHlch(8.99, 28.08, 354.13°)
OKLaboklab(22.69% 0.0861 -0.0072)
OKLCHoklch(22.69% 0.086 355.2)
XYZxyz(1.8979, 0.9999, 1.3211)
Luminance0.0100 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38031E #03381D
analogous
#380338 #38031E #380303
triadic
#38031E #1E3803 #031E38
tetradic
#38031E #383803 #03381D #030338
square
#38031E #383803 #03381D #030338
split-complementary
#38031E #033803 #033838
monochromatic
#1D0210 #1D0210 #38031E #72063D #AC095C

Accessibility & contrast

On white

17.50
#38031E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #38031E
17.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38031E#FFFFFF#000000##FFFFFF
##38031E1.0017.501.2017.50
#FFFFFF17.501.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E131F
Deuteranopia (green-blind)
#1D1D1D
Tritanopia (blue-blind)
#3D000F
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #38031e;
/* rgb */ color: rgb(56, 3, 30);
/* oklch */ color: oklch(22.7% 0.086 355.2);
Tailwind
colors: {
  custom: {
    50: '#724a59',
    500: '#38031e',
    950: '#000000',
  },
}
SCSS
$custom: #38031e;
$custom-light: #724a59;
$custom-dark: #000000;
JSON
{
  "hex": "#38031e",
  "rgb": {
    "r": 56,
    "g": 3,
    "b": 30
  },
  "hsl": {
    "h": 329.434,
    "s": 89.831,
    "l": 11.569
  },
  "oklch": {
    "l": 0.22686,
    "c": 0.08637,
    "h": 355.2
  },
  "luminance": 0.01
}

Semantic roles & 50–950 ramp

primary
#38031E
secondary
#1C7B4B
accent
#FF9229
background
#F7F4F5
surface
#EDE7E9
border
#C8C3C5
text
#080103
muted
#7B7778

Preview Lab

Preview with #38031E

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

Preview Lab → · Contrast checker → · Palette generator →

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