#38031A#38031A

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

Color values

HEX#38031A
RGBrgb(56, 3, 26)
HSLhsl(334, 90%, 12%)
HSVhsv(334, 95%, 22%)
CMYKcmyk(0%, 94.6%, 53.6%, 78%)
CIE-LABlab(8.83, 27.48, -0.02)
CIE-LCHlch(8.83, 27.48, 359.97°)
OKLaboklab(22.52% 0.0846 0.0003)
OKLCHoklch(22.52% 0.085 0.2)
XYZxyz(1.8501, 0.9807, 1.0690)
Luminance0.0098 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38031A #033821
analogous
#380335 #38031A #380603
triadic
#38031A #1A3803 #031A38
tetradic
#38031A #353803 #033821 #060338
square
#38031A #353803 #033821 #060338
split-complementary
#38031A #033806 #033538
monochromatic
#1D020D #1D020D #38031A #720635 #AC0950

Accessibility & contrast

On white

17.56
#38031A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #38031A
17.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38031A#FFFFFF#000000##FFFFFF
##38031A1.0017.561.2017.56
#FFFFFF17.561.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #38031a;
/* rgb */ color: rgb(56, 3, 26);
/* oklch */ color: oklch(22.5% 0.085 0.2);
Tailwind
colors: {
  custom: {
    50: '#724a56',
    500: '#38031a',
    950: '#000000',
  },
}
SCSS
$custom: #38031a;
$custom-light: #724a56;
$custom-dark: #000000;
JSON
{
  "hex": "#38031a",
  "rgb": {
    "r": 56,
    "g": 3,
    "b": 26
  },
  "hsl": {
    "h": 333.962,
    "s": 89.831,
    "l": 11.569
  },
  "oklch": {
    "l": 0.22517,
    "c": 0.08456,
    "h": 0.2
  },
  "luminance": 0.0098
}

Semantic roles & 50–950 ramp

primary
#38031A
secondary
#1C7B52
accent
#FFA229
background
#F7F4F5
surface
#EDE7E8
border
#C8C3C4
text
#080103
muted
#7B7778

Preview Lab

Preview with #38031A

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

Preview Lab → · Contrast checker → · Palette generator →

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