#52122E#52122E

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

Color values

HEX#52122E
RGBrgb(82, 18, 46)
HSLhsl(334, 64%, 20%)
HSVhsv(334, 78%, 32%)
CMYKcmyk(0%, 78%, 43.9%, 67.8%)
CIE-LABlab(17.57, 31.91, -1.37)
CIE-LCHlch(17.57, 31.94, 357.54°)
OKLaboklab(30.23% 0.0979 -0.0032)
OKLCHoklch(30.23% 0.098 358.1)
XYZxyz(4.1894, 2.4242, 2.8315)
Luminance0.0242 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52122E #125236
analogous
#52124E #52122E #521612
triadic
#52122E #2E5212 #122E52
tetradic
#52122E #4E5212 #125236 #161252
square
#52122E #4E5212 #125236 #161252
split-complementary
#52122E #125216 #124E52
monochromatic
#19060E #200712 #52122E #841D4A #B62866

Accessibility & contrast

On white

14.14
#52122E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #52122E
14.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52122E#FFFFFF#000000##FFFFFF
##52122E1.0014.141.4814.14
#FFFFFF14.141.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F232F
Deuteranopia (green-blind)
#30302D
Tritanopia (blue-blind)
#590A1E
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #52122e;
/* rgb */ color: rgb(82, 18, 46);
/* oklch */ color: oklch(30.2% 0.098 358.1);
Tailwind
colors: {
  custom: {
    50: '#865666',
    500: '#52122e',
    950: '#000000',
  },
}
SCSS
$custom: #52122e;
$custom-light: #865666;
$custom-dark: #000000;
JSON
{
  "hex": "#52122e",
  "rgb": {
    "r": 82,
    "g": 18,
    "b": 46
  },
  "hsl": {
    "h": 333.75,
    "s": 64,
    "l": 19.608
  },
  "oklch": {
    "l": 0.30226,
    "c": 0.09793,
    "h": 358.1
  },
  "luminance": 0.02424
}

Semantic roles & 50–950 ramp

primary
#52122E
secondary
#358B65
accent
#E79E41
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0C0306
muted
#7D787A

Preview Lab

Preview with #52122E

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

Preview Lab → · Contrast checker → · Palette generator →

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