#52123A#52123A

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

Color values

HEX#52123A
RGBrgb(82, 18, 58)
HSLhsl(323, 64%, 20%)
HSVhsv(323, 78%, 32%)
CMYKcmyk(0%, 78%, 29.3%, 67.8%)
CIE-LABlab(18.06, 33.51, -9.14)
CIE-LCHlch(18.06, 34.74, 344.74°)
OKLaboklab(30.75% 0.1017 -0.0242)
OKLCHoklch(30.75% 0.105 346.6)
XYZxyz(4.4599, 2.5324, 4.2561)
Luminance0.0253 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52123A #12522A
analogous
#4A1252 #52123A #52121A
triadic
#52123A #3A5212 #123A52
tetradic
#52123A #524A12 #12522A #121A52
square
#52123A #524A12 #12522A #121A52
split-complementary
#52123A #1A5212 #12524A
monochromatic
#190612 #200717 #52123A #841D5D #B62881

Accessibility & contrast

On white

13.94
#52123A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #52123A
13.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52123A#FFFFFF#000000##FFFFFF
##52123A1.0013.941.5113.94
#FFFFFF13.941.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A253B
Deuteranopia (green-blind)
#2D3039
Tritanopia (blue-blind)
#581024
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #52123a;
/* rgb */ color: rgb(82, 18, 58);
/* oklch */ color: oklch(30.7% 0.105 346.6);
Tailwind
colors: {
  custom: {
    50: '#855670',
    500: '#52123a',
    950: '#000000',
  },
}
SCSS
$custom: #52123a;
$custom-light: #855670;
$custom-dark: #000000;
JSON
{
  "hex": "#52123a",
  "rgb": {
    "r": 82,
    "g": 18,
    "b": 58
  },
  "hsl": {
    "h": 322.5,
    "s": 64,
    "l": 19.608
  },
  "oklch": {
    "l": 0.30748,
    "c": 0.10453,
    "h": 346.6
  },
  "luminance": 0.02532
}

Semantic roles & 50–950 ramp

primary
#52123A
secondary
#358B55
accent
#E77F41
background
#F8F5F6
surface
#F0E9EC
border
#CBC5C7
text
#0B0307
muted
#7C787A

Preview Lab

Preview with #52123A

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

Preview Lab → · Contrast checker → · Palette generator →

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