#38152F#38152F

#38152F is a dark, moderate pink. Relative luminance 0.016; OKLCH L 26.0% C 0.068 H 338.3°. Best body text is #FFFFFF at 15.95:1 contrast (WCAG AA passes).

Color values

HEX#38152F
RGBrgb(56, 21, 47)
HSLhsl(315, 45%, 15%)
HSVhsv(315, 63%, 22%)
CMYKcmyk(0%, 62.5%, 16.1%, 78%)
CIE-LABlab(13.12, 21.41, -9.29)
CIE-LCHlch(13.12, 23.33, 336.54°)
OKLaboklab(25.98% 0.0628 -0.025)
OKLCHoklch(25.98% 0.068 338.3)
XYZxyz(2.4122, 1.5825, 2.8672)
Luminance0.0158 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38152F #15381E
analogous
#301538 #38152F #38151D
triadic
#38152F #2F3815 #152F38
tetradic
#38152F #383015 #15381E #151D38
square
#38152F #383015 #15381E #151D38
split-complementary
#38152F #1D3815 #153830
monochromatic
#160813 #160813 #38152F #652654 #91367A

Accessibility & contrast

On white

15.95
#38152F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#38152F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38152F
15.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38152F#FFFFFF#000000##FFFFFF
##38152F1.0015.951.3215.95
#FFFFFF15.951.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#161E30
Deuteranopia (green-blind)
#20242E
Tritanopia (blue-blind)
#3B161F
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #38152f;
/* rgb */ color: rgb(56, 21, 47);
/* oklch */ color: oklch(26.0% 0.068 338.3);
Tailwind
colors: {
  custom: {
    50: '#705467',
    500: '#38152f',
    950: '#000000',
  },
}
SCSS
$custom: #38152f;
$custom-light: #705467;
$custom-dark: #000000;
JSON
{
  "hex": "#38152f",
  "rgb": {
    "r": 56,
    "g": 21,
    "b": 47
  },
  "hsl": {
    "h": 315.429,
    "s": 45.455,
    "l": 15.098
  },
  "oklch": {
    "l": 0.25981,
    "c": 0.06759,
    "h": 338.3
  },
  "luminance": 0.01582
}

Semantic roles & 50–950 ramp

primary
#38152F
secondary
#3A6F47
accent
#D57453
background
#F6F4F6
surface
#ECE7EB
border
#C7C3C6
text
#070306
muted
#7A787A

Preview Lab

Preview with #38152F

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

Preview Lab → · Contrast checker → · Palette generator →

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