#52153F#52153F

#52153F is a dark, moderate pink. Relative luminance 0.027; OKLCH L 31.3% C 0.104 H 342.6°. Best body text is #FFFFFF at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#52153F
RGBrgb(82, 21, 63)
HSLhsl(319, 59%, 20%)
HSVhsv(319, 74%, 32%)
CMYKcmyk(0%, 74.4%, 23.2%, 67.8%)
CIE-LABlab(18.75, 33.00, -11.58)
CIE-LCHlch(18.75, 34.98, 340.66°)
OKLaboklab(31.33% 0.099 -0.031)
OKLCHoklch(31.33% 0.104 342.6)
XYZxyz(4.6452, 2.6895, 4.9761)
Luminance0.0269 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52153F #155228
analogous
#471552 #52153F #521520
triadic
#52153F #3F5215 #153F52
tetradic
#52153F #524715 #155228 #152052
square
#52153F #524715 #155228 #152052
split-complementary
#52153F #205215 #155247
monochromatic
#180613 #21091A #52153F #832164 #B32E8A

Accessibility & contrast

On white

13.66
#52153F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#52153F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52153F
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52153F#FFFFFF#000000##FFFFFF
##52153F1.0013.661.5413.66
#FFFFFF13.661.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2740
Deuteranopia (green-blind)
#2D313E
Tritanopia (blue-blind)
#581527
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #52153f;
/* rgb */ color: rgb(82, 21, 63);
/* oklch */ color: oklch(31.3% 0.104 342.6);
Tailwind
colors: {
  custom: {
    50: '#855874',
    500: '#52153f',
    950: '#000000',
  },
}
SCSS
$custom: #52153f;
$custom-light: #855874;
$custom-dark: #000000;
JSON
{
  "hex": "#52153f",
  "rgb": {
    "r": 82,
    "g": 21,
    "b": 63
  },
  "hsl": {
    "h": 318.689,
    "s": 59.223,
    "l": 20.196
  },
  "oklch": {
    "l": 0.31329,
    "c": 0.10373,
    "h": 342.6
  },
  "luminance": 0.02689
}

Semantic roles & 50–950 ramp

primary
#52153F
secondary
#398A52
accent
#E27645
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0408
muted
#7C797B

Preview Lab

Preview with #52153F

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

Preview Lab → · Contrast checker → · Palette generator →

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