#52123D#52123D

#52123D is a dark, moderate pink. Relative luminance 0.026; OKLCH L 30.9% C 0.107 H 344.0°. Best body text is #FFFFFF at 13.88:1 contrast (WCAG AA passes).

Color values

HEX#52123D
RGBrgb(82, 18, 61)
HSLhsl(320, 64%, 20%)
HSVhsv(320, 78%, 32%)
CMYKcmyk(0%, 78%, 25.6%, 67.8%)
CIE-LABlab(18.20, 33.96, -11.03)
CIE-LCHlch(18.20, 35.71, 342.00°)
OKLaboklab(30.9% 0.1024 -0.0294)
OKLCHoklch(30.9% 0.107 344)
XYZxyz(4.5385, 2.5638, 4.6698)
Luminance0.0256 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52123D #125227
analogous
#471252 #52123D #52121D
triadic
#52123D #3D5212 #123D52
tetradic
#52123D #524712 #125227 #121D52
square
#52123D #524712 #125227 #121D52
split-complementary
#52123D #1D5212 #125247
monochromatic
#190613 #200718 #52123D #841D62 #B62888

Accessibility & contrast

On white

13.88
#52123D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #52123D
13.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52123D#FFFFFF#000000##FFFFFF
##52123D1.0013.881.5113.88
#FFFFFF13.881.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19263E
Deuteranopia (green-blind)
#2C303C
Tritanopia (blue-blind)
#581225
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #52123d;
/* rgb */ color: rgb(82, 18, 61);
/* oklch */ color: oklch(30.9% 0.107 344.0);
Tailwind
colors: {
  custom: {
    50: '#855772',
    500: '#52123d',
    950: '#000000',
  },
}
SCSS
$custom: #52123d;
$custom-light: #855772;
$custom-dark: #000000;
JSON
{
  "hex": "#52123d",
  "rgb": {
    "r": 82,
    "g": 18,
    "b": 61
  },
  "hsl": {
    "h": 319.688,
    "s": 64,
    "l": 19.608
  },
  "oklch": {
    "l": 0.30896,
    "c": 0.10658,
    "h": 344
  },
  "luminance": 0.02563
}

Semantic roles & 50–950 ramp

primary
#52123D
secondary
#358B51
accent
#E77741
background
#F8F5F6
surface
#F0E9EC
border
#CBC5C7
text
#0B0308
muted
#7C787B

Preview Lab

Preview with #52123D

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

Preview Lab → · Contrast checker → · Palette generator →

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