#52132E#52132E

#52132E is a dark, moderate pink. Relative luminance 0.025; OKLCH L 30.3% C 0.097 H 358.4°. Best body text is #FFFFFF at 14.08:1 contrast (WCAG AA passes).

Color values

HEX#52132E
RGBrgb(82, 19, 46)
HSLhsl(334, 62%, 20%)
HSVhsv(334, 77%, 32%)
CMYKcmyk(0%, 76.8%, 43.9%, 67.8%)
CIE-LABlab(17.72, 31.49, -1.15)
CIE-LCHlch(17.72, 31.51, 357.91°)
OKLaboklab(30.34% 0.0965 -0.0026)
OKLCHoklch(30.34% 0.097 358.4)
XYZxyz(4.2060, 2.4574, 2.8371)
Luminance0.0246 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52132E #135237
analogous
#52134D #52132E #521813
triadic
#52132E #2E5213 #132E52
tetradic
#52132E #4D5213 #135237 #181352
square
#52132E #4D5213 #135237 #181352
split-complementary
#52132E #135218 #134D52
monochromatic
#19060E #200712 #52132E #841F4A #B52A66

Accessibility & contrast

On white

14.08
#52132E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#52132E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52132E
14.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52132E#FFFFFF#000000##FFFFFF
##52132E1.0014.081.4914.08
#FFFFFF14.081.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20242F
Deuteranopia (green-blind)
#31302D
Tritanopia (blue-blind)
#590B1E
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #52132e;
/* rgb */ color: rgb(82, 19, 46);
/* oklch */ color: oklch(30.3% 0.097 358.4);
Tailwind
colors: {
  custom: {
    50: '#865666',
    500: '#52132e',
    950: '#000000',
  },
}
SCSS
$custom: #52132e;
$custom-light: #865666;
$custom-dark: #000000;
JSON
{
  "hex": "#52132e",
  "rgb": {
    "r": 82,
    "g": 19,
    "b": 46
  },
  "hsl": {
    "h": 334.286,
    "s": 62.376,
    "l": 19.804
  },
  "oklch": {
    "l": 0.30338,
    "c": 0.09658,
    "h": 358.4
  },
  "luminance": 0.02457
}

Semantic roles & 50–950 ramp

primary
#52132E
secondary
#368A66
accent
#E5A042
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0C0306
muted
#7D787A

Preview Lab

Preview with #52132E

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

Preview Lab → · Contrast checker → · Palette generator →

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