#52123C#52123C

#52123C is a dark, moderate pink. Relative luminance 0.026; OKLCH L 30.8% C 0.106 H 344.8°. Best body text is #FFFFFF at 13.90:1 contrast (WCAG AA passes).

Color values

HEX#52123C
RGBrgb(82, 18, 60)
HSLhsl(321, 64%, 20%)
HSVhsv(321, 78%, 32%)
CMYKcmyk(0%, 78%, 26.8%, 67.8%)
CIE-LABlab(18.16, 33.81, -10.41)
CIE-LCHlch(18.16, 35.37, 342.89°)
OKLaboklab(30.85% 0.1022 -0.0277)
OKLCHoklch(30.85% 0.106 344.8)
XYZxyz(4.5118, 2.5532, 4.5293)
Luminance0.0255 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52123C #125228
analogous
#481252 #52123C #52121C
triadic
#52123C #3C5212 #123C52
tetradic
#52123C #524812 #125228 #121C52
square
#52123C #524812 #125228 #121C52
split-complementary
#52123C #1C5212 #125248
monochromatic
#190612 #200717 #52123C #841D61 #B62885

Accessibility & contrast

On white

13.90
#52123C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #52123C
13.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52123C#FFFFFF#000000##FFFFFF
##52123C1.0013.901.5113.90
#FFFFFF13.901.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19253D
Deuteranopia (green-blind)
#2D303B
Tritanopia (blue-blind)
#581125
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #52123c;
/* rgb */ color: rgb(82, 18, 60);
/* oklch */ color: oklch(30.8% 0.106 344.8);
Tailwind
colors: {
  custom: {
    50: '#855771',
    500: '#52123c',
    950: '#000000',
  },
}
SCSS
$custom: #52123c;
$custom-light: #855771;
$custom-dark: #000000;
JSON
{
  "hex": "#52123c",
  "rgb": {
    "r": 82,
    "g": 18,
    "b": 60
  },
  "hsl": {
    "h": 320.625,
    "s": 64,
    "l": 19.608
  },
  "oklch": {
    "l": 0.30846,
    "c": 0.10588,
    "h": 344.8
  },
  "luminance": 0.02553
}

Semantic roles & 50–950 ramp

primary
#52123C
secondary
#358B52
accent
#E77A41
background
#F8F5F6
surface
#F0E9EC
border
#CBC5C7
text
#0B0307
muted
#7C787A

Preview Lab

Preview with #52123C

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

Preview Lab → · Contrast checker → · Palette generator →

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