#38111B#38111B

#38111B is a very dark, moderate pink. Relative luminance 0.013; OKLCH L 24.4% C 0.063 H 7.1°. Best body text is #FFFFFF at 16.61:1 contrast (WCAG AA passes).

Color values

HEX#38111B
RGBrgb(56, 17, 27)
HSLhsl(345, 53%, 14%)
HSVhsv(345, 70%, 22%)
CMYKcmyk(0%, 69.6%, 51.8%, 78%)
CIE-LABlab(11.42, 20.51, 2.96)
CIE-LCHlch(11.42, 20.73, 8.21°)
OKLaboklab(24.44% 0.0624 0.0078)
OKLCHoklch(24.44% 0.063 7.1)
XYZxyz(2.0293, 1.3210, 1.1848)
Luminance0.0132 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38111B #11382E
analogous
#38112F #38111B #381B11
triadic
#38111B #1B3811 #111B38
tetradic
#38111B #2F3811 #11382E #1B1138
square
#38111B #2F3811 #11382E #1B1138
split-complementary
#38111B #11381B #112F38
monochromatic
#17070B #17070B #38111B #671F32 #962E48

Accessibility & contrast

On white

16.61
#38111B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#38111B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38111B
16.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38111B#FFFFFF#000000##FFFFFF
##38111B1.0016.611.2616.61
#FFFFFF16.611.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#191A1B
Deuteranopia (green-blind)
#23211A
Tritanopia (blue-blind)
#3D0C15
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #38111b;
/* rgb */ color: rgb(56, 17, 27);
/* oklch */ color: oklch(24.4% 0.063 7.1);
Tailwind
colors: {
  custom: {
    50: '#715157',
    500: '#38111b',
    950: '#000000',
  },
}
SCSS
$custom: #38111b;
$custom-light: #715157;
$custom-dark: #000000;
JSON
{
  "hex": "#38111b",
  "rgb": {
    "r": 56,
    "g": 17,
    "b": 27
  },
  "hsl": {
    "h": 344.615,
    "s": 53.425,
    "l": 14.314
  },
  "oklch": {
    "l": 0.24444,
    "c": 0.0629,
    "h": 7.1
  },
  "luminance": 0.01321
}

Semantic roles & 50–950 ramp

primary
#38111B
secondary
#347161
accent
#DDB74B
background
#F7F4F5
surface
#EDE7E9
border
#C8C3C5
text
#080203
muted
#7B7878

Preview Lab

Preview with #38111B

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

Preview Lab → · Contrast checker → · Palette generator →

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