#38152E#38152E

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

Color values

HEX#38152E
RGBrgb(56, 21, 46)
HSLhsl(317, 45%, 15%)
HSVhsv(317, 63%, 22%)
CMYKcmyk(0%, 62.5%, 17.9%, 78%)
CIE-LABlab(13.07, 21.21, -8.64)
CIE-LCHlch(13.07, 22.90, 337.84°)
OKLaboklab(25.93% 0.0625 -0.0232)
OKLCHoklch(25.93% 0.067 339.7)
XYZxyz(2.3922, 1.5745, 2.7622)
Luminance0.0157 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38152E #15381F
analogous
#311538 #38152E #38151C
triadic
#38152E #2E3815 #152E38
tetradic
#38152E #383115 #15381F #151C38
square
#38152E #383115 #15381F #151C38
split-complementary
#38152E #1C3815 #153831
monochromatic
#160812 #160812 #38152E #652653 #913677

Accessibility & contrast

On white

15.97
#38152E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #38152E
15.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38152E#FFFFFF#000000##FFFFFF
##38152E1.0015.971.3115.97
#FFFFFF15.971.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#171E2F
Deuteranopia (green-blind)
#20242D
Tritanopia (blue-blind)
#3B161F
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #38152e;
/* rgb */ color: rgb(56, 21, 46);
/* oklch */ color: oklch(25.9% 0.067 339.7);
Tailwind
colors: {
  custom: {
    50: '#705466',
    500: '#38152e',
    950: '#000000',
  },
}
SCSS
$custom: #38152e;
$custom-light: #705466;
$custom-dark: #000000;
JSON
{
  "hex": "#38152e",
  "rgb": {
    "r": 56,
    "g": 21,
    "b": 46
  },
  "hsl": {
    "h": 317.143,
    "s": 45.455,
    "l": 15.098
  },
  "oklch": {
    "l": 0.25928,
    "c": 0.06666,
    "h": 339.7
  },
  "luminance": 0.01574
}

Semantic roles & 50–950 ramp

primary
#38152E
secondary
#3A6F49
accent
#D57853
background
#F6F4F6
surface
#ECE7EB
border
#C7C3C6
text
#070306
muted
#7A787A

Preview Lab

Preview with #38152E

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

Preview Lab → · Contrast checker → · Palette generator →

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