#38112B#38112B

#38112B is a dark, moderate pink. Relative luminance 0.014; OKLCH L 25.1% C 0.072 H 342.7°. Best body text is #FFFFFF at 16.37:1 contrast (WCAG AA passes).

Color values

HEX#38112B
RGBrgb(56, 17, 43)
HSLhsl(320, 53%, 14%)
HSVhsv(320, 70%, 22%)
CMYKcmyk(0%, 69.6%, 23.2%, 78%)
CIE-LABlab(12.07, 22.96, -7.99)
CIE-LCHlch(12.07, 24.31, 340.82°)
OKLaboklab(25.13% 0.0686 -0.0213)
OKLCHoklch(25.13% 0.072 342.7)
XYZxyz(2.2674, 1.4163, 2.4390)
Luminance0.0142 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38112B #11381E
analogous
#321138 #38112B #381118
triadic
#38112B #2B3811 #112B38
tetradic
#38112B #383211 #11381E #111838
square
#38112B #383211 #11381E #111838
split-complementary
#38112B #183811 #113832
monochromatic
#170712 #170712 #38112B #671F4F #962E73

Accessibility & contrast

On white

16.37
#38112B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#38112B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38112B
16.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38112B#FFFFFF#000000##FFFFFF
##38112B1.0016.371.2816.37
#FFFFFF16.371.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#141C2C
Deuteranopia (green-blind)
#1F222A
Tritanopia (blue-blind)
#3C111C
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #38112b;
/* rgb */ color: rgb(56, 17, 43);
/* oklch */ color: oklch(25.1% 0.072 342.7);
Tailwind
colors: {
  custom: {
    50: '#705264',
    500: '#38112b',
    950: '#000000',
  },
}
SCSS
$custom: #38112b;
$custom-light: #705264;
$custom-dark: #000000;
JSON
{
  "hex": "#38112b",
  "rgb": {
    "r": 56,
    "g": 17,
    "b": 43
  },
  "hsl": {
    "h": 320,
    "s": 53.425,
    "l": 14.314
  },
  "oklch": {
    "l": 0.25134,
    "c": 0.0718,
    "h": 342.7
  },
  "luminance": 0.01416
}

Semantic roles & 50–950 ramp

primary
#38112B
secondary
#347148
accent
#DD7C4B
background
#F6F4F5
surface
#ECE7EA
border
#C7C3C6
text
#080205
muted
#7B7879

Preview Lab

Preview with #38112B

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

Preview Lab → · Contrast checker → · Palette generator →

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