#52152D#52152D

#52152D is a dark, moderate pink. Relative luminance 0.025; OKLCH L 30.5% C 0.093 H 0.2°. Best body text is #FFFFFF at 13.96:1 contrast (WCAG AA passes).

Color values

HEX#52152D
RGBrgb(82, 21, 45)
HSLhsl(336, 59%, 20%)
HSVhsv(336, 74%, 32%)
CMYKcmyk(0%, 74.4%, 45.1%, 67.8%)
CIE-LABlab(18.01, 30.48, -0.02)
CIE-LCHlch(18.01, 30.48, 359.97°)
OKLaboklab(30.54% 0.0933 0.0003)
OKLCHoklch(30.54% 0.093 0.2)
XYZxyz(4.2218, 2.5201, 2.7462)
Luminance0.0252 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52152D #15523A
analogous
#52154C #52152D #521B15
triadic
#52152D #2D5215 #152D52
tetradic
#52152D #4C5215 #15523A #1B1552
square
#52152D #4C5215 #15523A #1B1552
split-complementary
#52152D #15521B #154C52
monochromatic
#18060D #210912 #52152D #832148 #B32E62

Accessibility & contrast

On white

13.96
#52152D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#52152D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52152D
13.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52152D#FFFFFF#000000##FFFFFF
##52152D1.0013.961.5013.96
#FFFFFF13.961.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21252E
Deuteranopia (green-blind)
#32302C
Tritanopia (blue-blind)
#590E1F
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #52152d;
/* rgb */ color: rgb(82, 21, 45);
/* oklch */ color: oklch(30.5% 0.093 0.2);
Tailwind
colors: {
  custom: {
    50: '#865765',
    500: '#52152d',
    950: '#000000',
  },
}
SCSS
$custom: #52152d;
$custom-light: #865765;
$custom-dark: #000000;
JSON
{
  "hex": "#52152d",
  "rgb": {
    "r": 82,
    "g": 21,
    "b": 45
  },
  "hsl": {
    "h": 336.393,
    "s": 59.223,
    "l": 20.196
  },
  "oklch": {
    "l": 0.30537,
    "c": 0.09334,
    "h": 0.2
  },
  "luminance": 0.0252
}

Semantic roles & 50–950 ramp

primary
#52152D
secondary
#398A6A
accent
#E2A545
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0C0305
muted
#7D787A

Preview Lab

Preview with #52152D

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

Preview Lab → · Contrast checker → · Palette generator →

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