#38152A#38152A

#38152A is a dark, moderate pink. Relative luminance 0.015; OKLCH L 25.7% C 0.063 H 345.5°. Best body text is #FFFFFF at 16.05:1 contrast (WCAG AA passes).

Color values

HEX#38152A
RGBrgb(56, 21, 42)
HSLhsl(324, 45%, 15%)
HSVhsv(324, 63%, 22%)
CMYKcmyk(0%, 62.5%, 25%, 78%)
CIE-LABlab(12.89, 20.46, -6.00)
CIE-LCHlch(12.89, 21.32, 343.64°)
OKLaboklab(25.73% 0.0612 -0.0159)
OKLCHoklch(25.73% 0.063 345.5)
XYZxyz(2.3170, 1.5444, 2.3661)
Luminance0.0154 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38152A #153823
analogous
#351538 #38152A #381518
triadic
#38152A #2A3815 #152A38
tetradic
#38152A #383515 #153823 #151838
square
#38152A #383515 #153823 #151838
split-complementary
#38152A #183815 #153835
monochromatic
#160811 #160811 #38152A #65264B #91366D

Accessibility & contrast

On white

16.05
#38152A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #38152A
16.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38152A#FFFFFF#000000##FFFFFF
##38152A1.0016.051.3116.05
#FFFFFF16.051.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#181E2B
Deuteranopia (green-blind)
#222329
Tritanopia (blue-blind)
#3C151D
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #38152a;
/* rgb */ color: rgb(56, 21, 42);
/* oklch */ color: oklch(25.7% 0.063 345.5);
Tailwind
colors: {
  custom: {
    50: '#705463',
    500: '#38152a',
    950: '#000000',
  },
}
SCSS
$custom: #38152a;
$custom-light: #705463;
$custom-dark: #000000;
JSON
{
  "hex": "#38152a",
  "rgb": {
    "r": 56,
    "g": 21,
    "b": 42
  },
  "hsl": {
    "h": 324,
    "s": 45.455,
    "l": 15.098
  },
  "oklch": {
    "l": 0.25728,
    "c": 0.06326,
    "h": 345.5
  },
  "luminance": 0.01544
}

Semantic roles & 50–950 ramp

primary
#38152A
secondary
#3A6F4F
accent
#D58753
background
#F6F4F5
surface
#ECE7EA
border
#C7C3C6
text
#070305
muted
#7A7879

Preview Lab

Preview with #38152A

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

Preview Lab → · Contrast checker → · Palette generator →

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