#38151E#38151E

#38151E is a dark, muted pink. Relative luminance 0.015; OKLCH L 25.2% C 0.057 H 5.9°. Best body text is #FFFFFF at 16.23:1 contrast (WCAG AA passes).

Color values

HEX#38151E
RGBrgb(56, 21, 30)
HSLhsl(345, 45%, 15%)
HSVhsv(345, 63%, 22%)
CMYKcmyk(0%, 62.5%, 46.4%, 78%)
CIE-LABlab(12.42, 18.53, 2.15)
CIE-LCHlch(12.42, 18.66, 6.63°)
OKLaboklab(25.23% 0.0564 0.0058)
OKLCHoklch(25.23% 0.057 5.9)
XYZxyz(2.1335, 1.4710, 1.3996)
Luminance0.0147 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38151E #15382F
analogous
#381530 #38151E #381D15
triadic
#38151E #1E3815 #151E38
tetradic
#38151E #303815 #15382F #1D1538
square
#38151E #303815 #15382F #1D1538
split-complementary
#38151E #15381D #153038
monochromatic
#16080C #16080C #38151E #652636 #91364E

Accessibility & contrast

On white

16.23
#38151E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#38151E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38151E
16.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38151E#FFFFFF#000000##FFFFFF
##38151E1.0016.231.2916.23
#FFFFFF16.231.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B1C1E
Deuteranopia (green-blind)
#24231D
Tritanopia (blue-blind)
#3D1118
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #38151e;
/* rgb */ color: rgb(56, 21, 30);
/* oklch */ color: oklch(25.2% 0.057 5.9);
Tailwind
colors: {
  custom: {
    50: '#715459',
    500: '#38151e',
    950: '#000000',
  },
}
SCSS
$custom: #38151e;
$custom-light: #715459;
$custom-dark: #000000;
JSON
{
  "hex": "#38151e",
  "rgb": {
    "r": 56,
    "g": 21,
    "b": 30
  },
  "hsl": {
    "h": 344.571,
    "s": 45.455,
    "l": 15.098
  },
  "oklch": {
    "l": 0.25227,
    "c": 0.05665,
    "h": 5.9
  },
  "luminance": 0.01471
}

Semantic roles & 50–950 ramp

primary
#38151E
secondary
#3A6F61
accent
#D5B453
background
#F6F4F5
surface
#ECE7E9
border
#C7C3C5
text
#080203
muted
#7B7878

Preview Lab

Preview with #38151E

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

Preview Lab → · Contrast checker → · Palette generator →

#38151E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva