#52122D#52122D

#52122D is a dark, moderate pink. Relative luminance 0.024; OKLCH L 30.2% C 0.098 H 359.1°. Best body text is #FFFFFF at 14.16:1 contrast (WCAG AA passes).

Color values

HEX#52122D
RGBrgb(82, 18, 45)
HSLhsl(335, 64%, 20%)
HSVhsv(335, 78%, 32%)
CMYKcmyk(0%, 78%, 45.1%, 67.8%)
CIE-LABlab(17.54, 31.79, -0.71)
CIE-LCHlch(17.54, 31.80, 358.72°)
OKLaboklab(30.19% 0.0975 -0.0015)
OKLCHoklch(30.19% 0.098 359.1)
XYZxyz(4.1699, 2.4164, 2.7289)
Luminance0.0242 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52122D #125237
analogous
#52124D #52122D #521712
triadic
#52122D #2D5212 #122D52
tetradic
#52122D #4D5212 #125237 #171252
square
#52122D #4D5212 #125237 #171252
split-complementary
#52122D #125217 #124D52
monochromatic
#19060E #200711 #52122D #841D49 #B62864

Accessibility & contrast

On white

14.16
#52122D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #52122D
14.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52122D#FFFFFF#000000##FFFFFF
##52122D1.0014.161.4814.16
#FFFFFF14.161.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F232E
Deuteranopia (green-blind)
#312F2C
Tritanopia (blue-blind)
#590A1D
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #52122d;
/* rgb */ color: rgb(82, 18, 45);
/* oklch */ color: oklch(30.2% 0.098 359.1);
Tailwind
colors: {
  custom: {
    50: '#865665',
    500: '#52122d',
    950: '#000000',
  },
}
SCSS
$custom: #52122d;
$custom-light: #865665;
$custom-dark: #000000;
JSON
{
  "hex": "#52122d",
  "rgb": {
    "r": 82,
    "g": 18,
    "b": 45
  },
  "hsl": {
    "h": 334.688,
    "s": 64,
    "l": 19.608
  },
  "oklch": {
    "l": 0.30188,
    "c": 0.09752,
    "h": 359.1
  },
  "luminance": 0.02416
}

Semantic roles & 50–950 ramp

primary
#52122D
secondary
#358B67
accent
#E7A141
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0C0305
muted
#7D787A

Preview Lab

Preview with #52122D

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

Preview Lab → · Contrast checker → · Palette generator →

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