#38031C#38031C

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

Color values

HEX#38031C
RGBrgb(56, 3, 28)
HSLhsl(332, 90%, 12%)
HSVhsv(332, 95%, 22%)
CMYKcmyk(0%, 94.6%, 50%, 78%)
CIE-LABlab(8.91, 27.70, -1.45)
CIE-LCHlch(8.91, 27.73, 357.00°)
OKLaboklab(22.6% 0.0853 -0.0035)
OKLCHoklch(22.6% 0.085 357.7)
XYZxyz(1.8732, 0.9900, 1.1908)
Luminance0.0099 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38031C #03381F
analogous
#380337 #38031C #380403
triadic
#38031C #1C3803 #031C38
tetradic
#38031C #373803 #03381F #040338
square
#38031C #373803 #03381F #040338
split-complementary
#38031C #033804 #033738
monochromatic
#1D020F #1D020F #38031C #720639 #AC0956

Accessibility & contrast

On white

17.53
#38031C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #38031C
17.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38031C#FFFFFF#000000##FFFFFF
##38031C1.0017.531.2017.53
#FFFFFF17.531.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F131D
Deuteranopia (green-blind)
#1E1D1B
Tritanopia (blue-blind)
#3E000E
Achromatopsia (no color)
#191919

Design tokens & code

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

Semantic roles & 50–950 ramp

primary
#38031C
secondary
#1C7B4E
accent
#FF9A29
background
#F7F4F5
surface
#EDE7E9
border
#C8C3C5
text
#080103
muted
#7B7778

Preview Lab

Preview with #38031C

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

Preview Lab → · Contrast checker → · Palette generator →

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