#52123E#52123E

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

Color values

HEX#52123E
RGBrgb(82, 18, 62)
HSLhsl(319, 64%, 20%)
HSVhsv(319, 78%, 32%)
CMYKcmyk(0%, 78%, 24.4%, 67.8%)
CIE-LABlab(18.25, 34.11, -11.66)
CIE-LCHlch(18.25, 36.05, 341.13°)
OKLaboklab(30.95% 0.1027 -0.0312)
OKLCHoklch(30.95% 0.107 343.1)
XYZxyz(4.5656, 2.5747, 4.8130)
Luminance0.0257 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52123E #125226
analogous
#461252 #52123E #52121E
triadic
#52123E #3E5212 #123E52
tetradic
#52123E #524612 #125226 #121E52
square
#52123E #524612 #125226 #121E52
split-complementary
#52123E #1E5212 #125246
monochromatic
#190613 #200718 #52123E #841D64 #B6288A

Accessibility & contrast

On white

13.86
#52123E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #52123E
13.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52123E#FFFFFF#000000##FFFFFF
##52123E1.0013.861.5113.86
#FFFFFF13.861.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18263F
Deuteranopia (green-blind)
#2C303D
Tritanopia (blue-blind)
#581226
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #52123e;
/* rgb */ color: rgb(82, 18, 62);
/* oklch */ color: oklch(30.9% 0.107 343.1);
Tailwind
colors: {
  custom: {
    50: '#855773',
    500: '#52123e',
    950: '#000000',
  },
}
SCSS
$custom: #52123e;
$custom-light: #855773;
$custom-dark: #000000;
JSON
{
  "hex": "#52123e",
  "rgb": {
    "r": 82,
    "g": 18,
    "b": 62
  },
  "hsl": {
    "h": 318.75,
    "s": 64,
    "l": 19.608
  },
  "oklch": {
    "l": 0.30947,
    "c": 0.10728,
    "h": 343.1
  },
  "luminance": 0.02574
}

Semantic roles & 50–950 ramp

primary
#52123E
secondary
#358B50
accent
#E77541
background
#F8F5F6
surface
#F0E9EC
border
#CBC5C7
text
#0B0308
muted
#7C787B

Preview Lab

Preview with #52123E

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

Preview Lab → · Contrast checker → · Palette generator →

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