#38111F#38111F

#38111F is a very dark, moderate pink. Relative luminance 0.013; OKLCH L 24.6% C 0.064 H 0.6°. Best body text is #FFFFFF at 16.56:1 contrast (WCAG AA passes).

Color values

HEX#38111F
RGBrgb(56, 17, 31)
HSLhsl(338, 53%, 14%)
HSVhsv(338, 70%, 22%)
CMYKcmyk(0%, 69.6%, 44.6%, 78%)
CIE-LABlab(11.56, 21.04, 0.16)
CIE-LCHlch(11.56, 21.04, 0.43°)
OKLaboklab(24.59% 0.0642 0.0007)
OKLCHoklch(24.59% 0.064 0.6)
XYZxyz(2.0788, 1.3408, 1.4454)
Luminance0.0134 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38111F #11382A
analogous
#381133 #38111F #381711
triadic
#38111F #1F3811 #111F38
tetradic
#38111F #333811 #11382A #171138
square
#38111F #333811 #11382A #171138
split-complementary
#38111F #113817 #113338
monochromatic
#17070D #17070D #38111F #671F39 #962E53

Accessibility & contrast

On white

16.56
#38111F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #38111F
16.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38111F#FFFFFF#000000##FFFFFF
##38111F1.0016.561.2716.56
#FFFFFF16.561.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#181A1F
Deuteranopia (green-blind)
#22211E
Tritanopia (blue-blind)
#3D0D16
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #38111f;
/* rgb */ color: rgb(56, 17, 31);
/* oklch */ color: oklch(24.6% 0.064 0.6);
Tailwind
colors: {
  custom: {
    50: '#71515a',
    500: '#38111f',
    950: '#000000',
  },
}
SCSS
$custom: #38111f;
$custom-light: #71515a;
$custom-dark: #000000;
JSON
{
  "hex": "#38111f",
  "rgb": {
    "r": 56,
    "g": 17,
    "b": 31
  },
  "hsl": {
    "h": 338.462,
    "s": 53.425,
    "l": 14.314
  },
  "oklch": {
    "l": 0.24591,
    "c": 0.06421,
    "h": 0.6
  },
  "luminance": 0.01341
}

Semantic roles & 50–950 ramp

primary
#38111F
secondary
#34715B
accent
#DDA84B
background
#F7F4F5
surface
#EDE7E9
border
#C8C3C5
text
#080203
muted
#7B7878

Preview Lab

Preview with #38111F

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

Preview Lab → · Contrast checker → · Palette generator →

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