#52122A#52122A

#52122A is a dark, moderate pink. Relative luminance 0.024; OKLCH L 30.1% C 0.096 H 2.2°. Best body text is #FFFFFF at 14.20:1 contrast (WCAG AA passes).

Color values

HEX#52122A
RGBrgb(82, 18, 42)
HSLhsl(338, 64%, 20%)
HSVhsv(338, 78%, 32%)
CMYKcmyk(0%, 78%, 48.8%, 67.8%)
CIE-LABlab(17.43, 31.45, 1.29)
CIE-LCHlch(17.43, 31.48, 2.35°)
OKLaboklab(30.08% 0.0963 0.0037)
OKLCHoklch(30.08% 0.096 2.2)
XYZxyz(4.1142, 2.3941, 2.4355)
Luminance0.0239 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52122A #12523A
analogous
#52124A #52122A #521A12
triadic
#52122A #2A5212 #122A52
tetradic
#52122A #4A5212 #12523A #1A1252
square
#52122A #4A5212 #12523A #1A1252
split-complementary
#52122A #12521A #124A52
monochromatic
#19060D #200710 #52122A #841D44 #B6285D

Accessibility & contrast

On white

14.20
#52122A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#52122A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52122A
14.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52122A#FFFFFF#000000##FFFFFF
##52122A1.0014.201.4814.20
#FFFFFF14.201.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20232B
Deuteranopia (green-blind)
#312F29
Tritanopia (blue-blind)
#5A081C
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #52122a;
/* rgb */ color: rgb(82, 18, 42);
/* oklch */ color: oklch(30.1% 0.096 2.2);
Tailwind
colors: {
  custom: {
    50: '#865663',
    500: '#52122a',
    950: '#000000',
  },
}
SCSS
$custom: #52122a;
$custom-light: #865663;
$custom-dark: #000000;
JSON
{
  "hex": "#52122a",
  "rgb": {
    "r": 82,
    "g": 18,
    "b": 42
  },
  "hsl": {
    "h": 337.5,
    "s": 64,
    "l": 19.608
  },
  "oklch": {
    "l": 0.30078,
    "c": 0.0964,
    "h": 2.2
  },
  "luminance": 0.02394
}

Semantic roles & 50–950 ramp

primary
#52122A
secondary
#358B6B
accent
#E7A941
background
#F8F5F5
surface
#F0E9EA
border
#CBC5C6
text
#0C0305
muted
#7D7879

Preview Lab

Preview with #52122A

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

Preview Lab → · Contrast checker → · Palette generator →

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