#52152B#52152B

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

Color values

HEX#52152B
RGBrgb(82, 21, 43)
HSLhsl(338, 59%, 20%)
HSVhsv(338, 74%, 32%)
CMYKcmyk(0%, 74.4%, 47.6%, 67.8%)
CIE-LABlab(17.94, 30.25, 1.31)
CIE-LCHlch(17.94, 30.28, 2.48°)
OKLaboklab(30.46% 0.0925 0.0037)
OKLCHoklch(30.46% 0.093 2.3)
XYZxyz(4.1842, 2.5051, 2.5482)
Luminance0.0250 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52152B #15523C
analogous
#521549 #52152B #521E15
triadic
#52152B #2B5215 #152B52
tetradic
#52152B #495215 #15523C #1E1552
square
#52152B #495215 #15523C #1E1552
split-complementary
#52152B #15521E #154952
monochromatic
#18060D #210911 #52152B #832145 #B32E5E

Accessibility & contrast

On white

13.99
#52152B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #52152B
13.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52152B#FFFFFF#000000##FFFFFF
##52152B1.0013.991.5013.99
#FFFFFF13.991.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22242C
Deuteranopia (green-blind)
#32302A
Tritanopia (blue-blind)
#590D1E
Achromatopsia (no color)
#2C2C2C

Design tokens & code

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

Semantic roles & 50–950 ramp

primary
#52152B
secondary
#398A6D
accent
#E2AA45
background
#F8F5F5
surface
#F0E9EA
border
#CBC5C6
text
#0C0305
muted
#7D7879

Preview Lab

Preview with #52152B

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

Preview Lab → · Contrast checker → · Palette generator →

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