#38121F#38121F

#38121F is a very dark, moderate pink. Relative luminance 0.014; OKLCH L 24.8% C 0.062 H 1.4°. Best body text is #FFFFFF at 16.48:1 contrast (WCAG AA passes).

Color values

HEX#38121F
RGBrgb(56, 18, 31)
HSLhsl(339, 51%, 15%)
HSVhsv(339, 68%, 22%)
CMYKcmyk(0%, 67.9%, 44.6%, 78%)
CIE-LABlab(11.77, 20.47, 0.47)
CIE-LCHlch(11.77, 20.47, 1.32°)
OKLaboklab(24.75% 0.0624 0.0015)
OKLCHoklch(24.75% 0.062 1.4)
XYZxyz(2.0946, 1.3725, 1.4507)
Luminance0.0137 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38121F #12382B
analogous
#381232 #38121F #381812
triadic
#38121F #1F3812 #121F38
tetradic
#38121F #323812 #12382B #181238
square
#38121F #323812 #12382B #181238
split-complementary
#38121F #123818 #123238
monochromatic
#17070D #17070D #38121F #662139 #953052

Accessibility & contrast

On white

16.48
#38121F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#38121F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38121F
16.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38121F#FFFFFF#000000##FFFFFF
##38121F1.0016.481.2716.48
#FFFFFF16.481.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#191B1F
Deuteranopia (green-blind)
#23221E
Tritanopia (blue-blind)
#3D0E17
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #38121f;
/* rgb */ color: rgb(56, 18, 31);
/* oklch */ color: oklch(24.8% 0.062 1.4);
Tailwind
colors: {
  custom: {
    50: '#71525a',
    500: '#38121f',
    950: '#000000',
  },
}
SCSS
$custom: #38121f;
$custom-light: #71525a;
$custom-dark: #000000;
JSON
{
  "hex": "#38121f",
  "rgb": {
    "r": 56,
    "g": 18,
    "b": 31
  },
  "hsl": {
    "h": 339.474,
    "s": 51.351,
    "l": 14.51
  },
  "oklch": {
    "l": 0.24752,
    "c": 0.06243,
    "h": 1.4
  },
  "luminance": 0.01372
}

Semantic roles & 50–950 ramp

primary
#38121F
secondary
#35715C
accent
#DBAA4D
background
#F7F4F5
surface
#EDE7E9
border
#C8C3C5
text
#080203
muted
#7B7878

Preview Lab

Preview with #38121F

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

Preview Lab → · Contrast checker → · Palette generator →

#38121F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva