#52112E#52112E

#52112E is a dark, moderate pink. Relative luminance 0.024; OKLCH L 30.1% C 0.099 H 357.8°. Best body text is #FFFFFF at 14.20:1 contrast (WCAG AA passes).

Color values

HEX#52112E
RGBrgb(82, 17, 46)
HSLhsl(333, 66%, 19%)
HSVhsv(333, 79%, 32%)
CMYKcmyk(0%, 79.3%, 43.9%, 67.8%)
CIE-LABlab(17.43, 32.32, -1.59)
CIE-LCHlch(17.43, 32.36, 357.19°)
OKLaboklab(30.12% 0.0992 -0.0038)
OKLCHoklch(30.12% 0.099 357.8)
XYZxyz(4.1736, 2.3925, 2.8263)
Luminance0.0239 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52112E #115235
analogous
#52114F #52112E #521511
triadic
#52112E #2E5211 #112E52
tetradic
#52112E #4F5211 #115235 #151152
square
#52112E #4F5211 #115235 #151152
split-complementary
#52112E #115215 #114F52
monochromatic
#19050E #1F0612 #52112E #851C4A #B72667

Accessibility & contrast

On white

14.20
#52112E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #52112E
14.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52112E#FFFFFF#000000##FFFFFF
##52112E1.0014.201.4814.20
#FFFFFF14.201.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E232F
Deuteranopia (green-blind)
#302F2D
Tritanopia (blue-blind)
#59091D
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #52112e;
/* rgb */ color: rgb(82, 17, 46);
/* oklch */ color: oklch(30.1% 0.099 357.8);
Tailwind
colors: {
  custom: {
    50: '#865666',
    500: '#52112e',
    950: '#000000',
  },
}
SCSS
$custom: #52112e;
$custom-light: #865666;
$custom-dark: #000000;
JSON
{
  "hex": "#52112e",
  "rgb": {
    "r": 82,
    "g": 17,
    "b": 46
  },
  "hsl": {
    "h": 333.231,
    "s": 65.657,
    "l": 19.412
  },
  "oklch": {
    "l": 0.30118,
    "c": 0.09926,
    "h": 357.8
  },
  "luminance": 0.02392
}

Semantic roles & 50–950 ramp

primary
#52112E
secondary
#348B64
accent
#E99D3F
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0C0306
muted
#7D787A

Preview Lab

Preview with #52112E

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

Preview Lab → · Contrast checker → · Palette generator →

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