#52152F#52152F

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

Color values

HEX#52152F
RGBrgb(82, 21, 47)
HSLhsl(334, 59%, 20%)
HSVhsv(334, 74%, 32%)
CMYKcmyk(0%, 74.4%, 42.7%, 67.8%)
CIE-LABlab(18.08, 30.73, -1.34)
CIE-LCHlch(18.08, 30.76, 357.51°)
OKLaboklab(30.61% 0.0941 -0.0031)
OKLCHoklch(30.61% 0.094 358.1)
XYZxyz(4.2612, 2.5359, 2.9539)
Luminance0.0254 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52152F #155238
analogous
#52154D #52152F #521915
triadic
#52152F #2F5215 #152F52
tetradic
#52152F #4D5215 #155238 #191552
square
#52152F #4D5215 #155238 #191552
split-complementary
#52152F #155219 #154D52
monochromatic
#18060E #210913 #52152F #83214B #B32E67

Accessibility & contrast

On white

13.93
#52152F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #52152F
13.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52152F#FFFFFF#000000##FFFFFF
##52152F1.0013.931.5113.93
#FFFFFF13.931.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212530
Deuteranopia (green-blind)
#31302E
Tritanopia (blue-blind)
#590E20
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #52152f;
/* rgb */ color: rgb(82, 21, 47);
/* oklch */ color: oklch(30.6% 0.094 358.1);
Tailwind
colors: {
  custom: {
    50: '#865767',
    500: '#52152f',
    950: '#000000',
  },
}
SCSS
$custom: #52152f;
$custom-light: #865767;
$custom-dark: #000000;
JSON
{
  "hex": "#52152f",
  "rgb": {
    "r": 82,
    "g": 21,
    "b": 47
  },
  "hsl": {
    "h": 334.426,
    "s": 59.223,
    "l": 20.196
  },
  "oklch": {
    "l": 0.30613,
    "c": 0.09416,
    "h": 358.1
  },
  "luminance": 0.02535
}

Semantic roles & 50–950 ramp

primary
#52152F
secondary
#398A67
accent
#E29F45
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0B0306
muted
#7C787A

Preview Lab

Preview with #52152F

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

Preview Lab → · Contrast checker → · Palette generator →

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