#52152C#52152C

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

Color values

HEX#52152C
RGBrgb(82, 21, 44)
HSLhsl(337, 59%, 20%)
HSVhsv(337, 74%, 32%)
CMYKcmyk(0%, 74.4%, 46.3%, 67.8%)
CIE-LABlab(17.98, 30.36, 0.65)
CIE-LCHlch(17.98, 30.37, 1.22°)
OKLaboklab(30.5% 0.0929 0.002)
OKLCHoklch(30.5% 0.093 1.3)
XYZxyz(4.2028, 2.5125, 2.6460)
Luminance0.0251 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52152C #15523B
analogous
#52154A #52152C #521C15
triadic
#52152C #2C5215 #152C52
tetradic
#52152C #4A5215 #15523B #1C1552
square
#52152C #4A5215 #15523B #1C1552
split-complementary
#52152C #15521C #154A52
monochromatic
#18060D #210912 #52152C #832146 #B32E60

Accessibility & contrast

On white

13.98
#52152C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #52152C
13.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52152C#FFFFFF#000000##FFFFFF
##52152C1.0013.981.5013.98
#FFFFFF13.981.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21242D
Deuteranopia (green-blind)
#32302B
Tritanopia (blue-blind)
#590D1E
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #52152c;
/* rgb */ color: rgb(82, 21, 44);
/* oklch */ color: oklch(30.5% 0.093 1.3);
Tailwind
colors: {
  custom: {
    50: '#865764',
    500: '#52152c',
    950: '#000000',
  },
}
SCSS
$custom: #52152c;
$custom-light: #865764;
$custom-dark: #000000;
JSON
{
  "hex": "#52152c",
  "rgb": {
    "r": 82,
    "g": 21,
    "b": 44
  },
  "hsl": {
    "h": 337.377,
    "s": 59.223,
    "l": 20.196
  },
  "oklch": {
    "l": 0.305,
    "c": 0.09296,
    "h": 1.3
  },
  "luminance": 0.02512
}

Semantic roles & 50–950 ramp

primary
#52152C
secondary
#398A6B
accent
#E2A745
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0C0305
muted
#7D787A

Preview Lab

Preview with #52152C

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

Preview Lab → · Contrast checker → · Palette generator →

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