#52182E#52182E

#52182E is a dark, moderate pink. Relative luminance 0.026; OKLCH L 31.0% C 0.089 H 0.4°. Best body text is #FFFFFF at 13.74:1 contrast (WCAG AA passes).

Color values

HEX#52182E
RGBrgb(82, 24, 46)
HSLhsl(337, 55%, 21%)
HSVhsv(337, 71%, 32%)
CMYKcmyk(0%, 70.7%, 43.9%, 67.8%)
CIE-LABlab(18.56, 29.18, 0.08)
CIE-LCHlch(18.56, 29.18, 0.16°)
OKLaboklab(30.96% 0.0892 0.0006)
OKLCHoklch(30.96% 0.089 0.4)
XYZxyz(4.2997, 2.6449, 2.8683)
Luminance0.0264 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52182E #18523C
analogous
#52184B #52182E #521F18
triadic
#52182E #2E5218 #182E52
tetradic
#52182E #4B5218 #18523C #1F1852
square
#52182E #4B5218 #18523C #1F1852
split-complementary
#52182E #18521F #184B52
monochromatic
#18070D #230A13 #52182E #812649 #B13463

Accessibility & contrast

On white

13.74
#52182E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#52182E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52182E
13.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52182E#FFFFFF#000000##FFFFFF
##52182E1.0013.741.5313.74
#FFFFFF13.741.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23262F
Deuteranopia (green-blind)
#33312D
Tritanopia (blue-blind)
#591221
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #52182e;
/* rgb */ color: rgb(82, 24, 46);
/* oklch */ color: oklch(31.0% 0.089 0.4);
Tailwind
colors: {
  custom: {
    50: '#865966',
    500: '#52182e',
    950: '#000000',
  },
}
SCSS
$custom: #52182e;
$custom-light: #865966;
$custom-dark: #000000;
JSON
{
  "hex": "#52182e",
  "rgb": {
    "r": 82,
    "g": 24,
    "b": 46
  },
  "hsl": {
    "h": 337.241,
    "s": 54.717,
    "l": 20.784
  },
  "oklch": {
    "l": 0.30957,
    "c": 0.08924,
    "h": 0.4
  },
  "luminance": 0.02644
}

Semantic roles & 50–950 ramp

primary
#52182E
secondary
#3D896C
accent
#DEA64A
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0B0406
muted
#7C797A

Preview Lab

Preview with #52182E

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

Preview Lab → · Contrast checker → · Palette generator →

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