#52182C#52182C

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

Color values

HEX#52182C
RGBrgb(82, 24, 44)
HSLhsl(339, 55%, 21%)
HSVhsv(339, 71%, 32%)
CMYKcmyk(0%, 70.7%, 46.3%, 67.8%)
CIE-LABlab(18.49, 28.94, 1.40)
CIE-LCHlch(18.49, 28.97, 2.77°)
OKLaboklab(30.89% 0.0884 0.004)
OKLCHoklch(30.89% 0.089 2.6)
XYZxyz(4.2612, 2.6295, 2.6655)
Luminance0.0263 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52182C #18523E
analogous
#521849 #52182C #522118
triadic
#52182C #2C5218 #182C52
tetradic
#52182C #495218 #18523E #211852
square
#52182C #495218 #18523E #211852
split-complementary
#52182C #185221 #184952
monochromatic
#18070D #230A13 #52182C #812645 #B1345F

Accessibility & contrast

On white

13.76
#52182C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #52182C
13.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52182C#FFFFFF#000000##FFFFFF
##52182C1.0013.761.5313.76
#FFFFFF13.761.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24262D
Deuteranopia (green-blind)
#33312B
Tritanopia (blue-blind)
#591120
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #52182c;
/* rgb */ color: rgb(82, 24, 44);
/* oklch */ color: oklch(30.9% 0.089 2.6);
Tailwind
colors: {
  custom: {
    50: '#865964',
    500: '#52182c',
    950: '#000000',
  },
}
SCSS
$custom: #52182c;
$custom-light: #865964;
$custom-dark: #000000;
JSON
{
  "hex": "#52182c",
  "rgb": {
    "r": 82,
    "g": 24,
    "b": 44
  },
  "hsl": {
    "h": 339.31,
    "s": 54.717,
    "l": 20.784
  },
  "oklch": {
    "l": 0.30885,
    "c": 0.08852,
    "h": 2.6
  },
  "luminance": 0.02629
}

Semantic roles & 50–950 ramp

primary
#52182C
secondary
#3D896F
accent
#DEAB4A
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0B0405
muted
#7C797A

Preview Lab

Preview with #52182C

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

Preview Lab → · Contrast checker → · Palette generator →

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