#52152E#52152E

#52152E is a dark, moderate pink. Relative luminance 0.025; OKLCH L 30.6% C 0.094 H 359.1°. Best body text is #FFFFFF at 13.95:1 contrast (WCAG AA passes).

Color values

HEX#52152E
RGBrgb(82, 21, 46)
HSLhsl(335, 59%, 20%)
HSVhsv(335, 74%, 32%)
CMYKcmyk(0%, 74.4%, 43.9%, 67.8%)
CIE-LABlab(18.04, 30.60, -0.68)
CIE-LCHlch(18.04, 30.61, 358.73°)
OKLaboklab(30.57% 0.0937 -0.0014)
OKLCHoklch(30.57% 0.094 359.1)
XYZxyz(4.2413, 2.5279, 2.8488)
Luminance0.0253 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52152E #155239
analogous
#52154C #52152E #521B15
triadic
#52152E #2E5215 #152E52
tetradic
#52152E #4C5215 #155239 #1B1552
square
#52152E #4C5215 #155239 #1B1552
split-complementary
#52152E #15521B #154C52
monochromatic
#18060E #210913 #52152E #832149 #B32E65

Accessibility & contrast

On white

13.95
#52152E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#52152E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52152E
13.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52152E#FFFFFF#000000##FFFFFF
##52152E1.0013.951.5113.95
#FFFFFF13.951.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21252F
Deuteranopia (green-blind)
#31302D
Tritanopia (blue-blind)
#590E1F
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #52152e;
/* rgb */ color: rgb(82, 21, 46);
/* oklch */ color: oklch(30.6% 0.094 359.1);
Tailwind
colors: {
  custom: {
    50: '#865766',
    500: '#52152e',
    950: '#000000',
  },
}
SCSS
$custom: #52152e;
$custom-light: #865766;
$custom-dark: #000000;
JSON
{
  "hex": "#52152e",
  "rgb": {
    "r": 82,
    "g": 21,
    "b": 46
  },
  "hsl": {
    "h": 335.41,
    "s": 59.223,
    "l": 20.196
  },
  "oklch": {
    "l": 0.30574,
    "c": 0.09374,
    "h": 359.1
  },
  "luminance": 0.02527
}

Semantic roles & 50–950 ramp

primary
#52152E
secondary
#398A69
accent
#E2A245
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0C0306
muted
#7D787A

Preview Lab

Preview with #52152E

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

Preview Lab → · Contrast checker → · Palette generator →

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