#52152A#52152A

#52152A is a dark, moderate pink. Relative luminance 0.025; OKLCH L 30.4% C 0.092 H 3.4°. Best body text is #FFFFFF at 14.01:1 contrast (WCAG AA passes).

Color values

HEX#52152A
RGBrgb(82, 21, 42)
HSLhsl(339, 59%, 20%)
HSVhsv(339, 74%, 32%)
CMYKcmyk(0%, 74.4%, 48.8%, 67.8%)
CIE-LABlab(17.91, 30.13, 1.98)
CIE-LCHlch(17.91, 30.20, 3.76°)
OKLaboklab(30.43% 0.0921 0.0054)
OKLCHoklch(30.43% 0.092 3.4)
XYZxyz(4.1661, 2.4979, 2.4528)
Luminance0.0250 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52152A #15523D
analogous
#521548 #52152A #521E15
triadic
#52152A #2A5215 #152A52
tetradic
#52152A #485215 #15523D #1E1552
square
#52152A #485215 #15523D #1E1552
split-complementary
#52152A #15521E #154852
monochromatic
#18060C #210911 #52152A #832143 #B32E5C

Accessibility & contrast

On white

14.01
#52152A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #52152A
14.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52152A#FFFFFF#000000##FFFFFF
##52152A1.0014.011.5014.01
#FFFFFF14.011.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22242B
Deuteranopia (green-blind)
#323029
Tritanopia (blue-blind)
#5A0C1D
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #52152a;
/* rgb */ color: rgb(82, 21, 42);
/* oklch */ color: oklch(30.4% 0.092 3.4);
Tailwind
colors: {
  custom: {
    50: '#865763',
    500: '#52152a',
    950: '#000000',
  },
}
SCSS
$custom: #52152a;
$custom-light: #865763;
$custom-dark: #000000;
JSON
{
  "hex": "#52152a",
  "rgb": {
    "r": 82,
    "g": 21,
    "b": 42
  },
  "hsl": {
    "h": 339.344,
    "s": 59.223,
    "l": 20.196
  },
  "oklch": {
    "l": 0.3043,
    "c": 0.09228,
    "h": 3.4
  },
  "luminance": 0.02497
}

Semantic roles & 50–950 ramp

primary
#52152A
secondary
#398A6E
accent
#E2AC45
background
#F8F5F5
surface
#F0E9EA
border
#CBC5C6
text
#0C0305
muted
#7D7879

Preview Lab

Preview with #52152A

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

Preview Lab → · Contrast checker → · Palette generator →

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