#38151F#38151F

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

Color values

HEX#38151F
RGBrgb(56, 21, 31)
HSLhsl(343, 45%, 15%)
HSVhsv(343, 63%, 22%)
CMYKcmyk(0%, 62.5%, 44.6%, 78%)
CIE-LABlab(12.46, 18.68, 1.46)
CIE-LCHlch(12.46, 18.73, 4.47°)
OKLaboklab(25.26% 0.0568 0.004)
OKLCHoklch(25.26% 0.057 4)
XYZxyz(2.1465, 1.4762, 1.4680)
Luminance0.0148 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38151F #15382E
analogous
#381531 #38151F #381C15
triadic
#38151F #1F3815 #151F38
tetradic
#38151F #313815 #15382E #1C1538
square
#38151F #313815 #15382E #1C1538
split-complementary
#38151F #15381C #153138
monochromatic
#16080C #16080C #38151F #652638 #913650

Accessibility & contrast

On white

16.21
#38151F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#38151F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38151F
16.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38151F#FFFFFF#000000##FFFFFF
##38151F1.0016.211.3016.21
#FFFFFF16.211.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B1C1F
Deuteranopia (green-blind)
#24231E
Tritanopia (blue-blind)
#3D1219
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #38151f;
/* rgb */ color: rgb(56, 21, 31);
/* oklch */ color: oklch(25.3% 0.057 4.0);
Tailwind
colors: {
  custom: {
    50: '#71545a',
    500: '#38151f',
    950: '#000000',
  },
}
SCSS
$custom: #38151f;
$custom-light: #71545a;
$custom-dark: #000000;
JSON
{
  "hex": "#38151f",
  "rgb": {
    "r": 56,
    "g": 21,
    "b": 31
  },
  "hsl": {
    "h": 342.857,
    "s": 45.455,
    "l": 15.098
  },
  "oklch": {
    "l": 0.25263,
    "c": 0.05695,
    "h": 4
  },
  "luminance": 0.01476
}

Semantic roles & 50–950 ramp

primary
#38151F
secondary
#3A6F60
accent
#D5B053
background
#F6F4F5
surface
#ECE7E9
border
#C7C3C5
text
#080203
muted
#7B7878

Preview Lab

Preview with #38151F

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

Preview Lab → · Contrast checker → · Palette generator →

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