#52123B#52123B

#52123B is a dark, moderate pink. Relative luminance 0.025; OKLCH L 30.8% C 0.105 H 345.7°. Best body text is #FFFFFF at 13.92:1 contrast (WCAG AA passes).

Color values

HEX#52123B
RGBrgb(82, 18, 59)
HSLhsl(322, 64%, 20%)
HSVhsv(322, 78%, 32%)
CMYKcmyk(0%, 78%, 28%, 67.8%)
CIE-LABlab(18.11, 33.66, -9.78)
CIE-LCHlch(18.11, 35.05, 343.80°)
OKLaboklab(30.8% 0.102 -0.0259)
OKLCHoklch(30.8% 0.105 345.7)
XYZxyz(4.4856, 2.5427, 4.3914)
Luminance0.0254 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52123B #125229
analogous
#491252 #52123B #52121B
triadic
#52123B #3B5212 #123B52
tetradic
#52123B #524912 #125229 #121B52
square
#52123B #524912 #125229 #121B52
split-complementary
#52123B #1B5212 #125249
monochromatic
#190612 #200717 #52123B #841D5F #B62883

Accessibility & contrast

On white

13.92
#52123B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#52123B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52123B
13.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52123B#FFFFFF#000000##FFFFFF
##52123B1.0013.921.5113.92
#FFFFFF13.921.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A253C
Deuteranopia (green-blind)
#2D303A
Tritanopia (blue-blind)
#581124
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #52123b;
/* rgb */ color: rgb(82, 18, 59);
/* oklch */ color: oklch(30.8% 0.105 345.7);
Tailwind
colors: {
  custom: {
    50: '#855671',
    500: '#52123b',
    950: '#000000',
  },
}
SCSS
$custom: #52123b;
$custom-light: #855671;
$custom-dark: #000000;
JSON
{
  "hex": "#52123b",
  "rgb": {
    "r": 82,
    "g": 18,
    "b": 59
  },
  "hsl": {
    "h": 321.563,
    "s": 64,
    "l": 19.608
  },
  "oklch": {
    "l": 0.30797,
    "c": 0.1052,
    "h": 345.7
  },
  "luminance": 0.02542
}

Semantic roles & 50–950 ramp

primary
#52123B
secondary
#358B54
accent
#E77D41
background
#F8F5F6
surface
#F0E9EC
border
#CBC5C7
text
#0B0307
muted
#7C787A

Preview Lab

Preview with #52123B

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

Preview Lab → · Contrast checker → · Palette generator →

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