#38152D#38152D

#38152D is a dark, moderate pink. Relative luminance 0.016; OKLCH L 25.9% C 0.066 H 341.0°. Best body text is #FFFFFF at 15.99:1 contrast (WCAG AA passes).

Color values

HEX#38152D
RGBrgb(56, 21, 45)
HSLhsl(319, 45%, 15%)
HSVhsv(319, 63%, 22%)
CMYKcmyk(0%, 62.5%, 19.6%, 78%)
CIE-LABlab(13.03, 21.02, -7.98)
CIE-LCHlch(13.03, 22.48, 339.20°)
OKLaboklab(25.88% 0.0622 -0.0214)
OKLCHoklch(25.88% 0.066 341)
XYZxyz(2.3727, 1.5667, 2.6596)
Luminance0.0157 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38152D #153820
analogous
#311538 #38152D #38151B
triadic
#38152D #2D3815 #152D38
tetradic
#38152D #383115 #153820 #151B38
square
#38152D #383115 #153820 #151B38
split-complementary
#38152D #1B3815 #153831
monochromatic
#160812 #160812 #38152D #652651 #913675

Accessibility & contrast

On white

15.99
#38152D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#38152D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38152D
15.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38152D#FFFFFF#000000##FFFFFF
##38152D1.0015.991.3115.99
#FFFFFF15.991.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#171E2E
Deuteranopia (green-blind)
#21242C
Tritanopia (blue-blind)
#3B151F
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #38152d;
/* rgb */ color: rgb(56, 21, 45);
/* oklch */ color: oklch(25.9% 0.066 341.0);
Tailwind
colors: {
  custom: {
    50: '#705465',
    500: '#38152d',
    950: '#000000',
  },
}
SCSS
$custom: #38152d;
$custom-light: #705465;
$custom-dark: #000000;
JSON
{
  "hex": "#38152d",
  "rgb": {
    "r": 56,
    "g": 21,
    "b": 45
  },
  "hsl": {
    "h": 318.857,
    "s": 45.455,
    "l": 15.098
  },
  "oklch": {
    "l": 0.25877,
    "c": 0.06577,
    "h": 341
  },
  "luminance": 0.01567
}

Semantic roles & 50–950 ramp

primary
#38152D
secondary
#3A6F4A
accent
#D57C53
background
#F6F4F6
surface
#ECE7EB
border
#C7C3C6
text
#070305
muted
#7A787A

Preview Lab

Preview with #38152D

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

Preview Lab → · Contrast checker → · Palette generator →

#38152D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva