#52142A#52142A

#52142A is a dark, moderate pink. Relative luminance 0.025; OKLCH L 30.3% C 0.094 H 3.0°. Best body text is #FFFFFF at 14.07:1 contrast (WCAG AA passes).

Color values

HEX#52142A
RGBrgb(82, 20, 42)
HSLhsl(339, 61%, 20%)
HSVhsv(339, 76%, 32%)
CMYKcmyk(0%, 75.6%, 48.8%, 67.8%)
CIE-LABlab(17.75, 30.59, 1.74)
CIE-LCHlch(17.75, 30.64, 3.26°)
OKLaboklab(30.31% 0.0936 0.0048)
OKLCHoklch(30.31% 0.094 3)
XYZxyz(4.1481, 2.4618, 2.4468)
Luminance0.0246 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52142A #14523C
analogous
#521449 #52142A #521D14
triadic
#52142A #2A5214 #142A52
tetradic
#52142A #495214 #14523C #1D1452
square
#52142A #495214 #14523C #1D1452
split-complementary
#52142A #14521D #144952
monochromatic
#19060D #210811 #52142A #832043 #B42C5C

Accessibility & contrast

On white

14.07
#52142A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#52142A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52142A
14.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52142A#FFFFFF#000000##FFFFFF
##52142A1.0014.071.4914.07
#FFFFFF14.071.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21242B
Deuteranopia (green-blind)
#323029
Tritanopia (blue-blind)
#5A0B1D
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #52142a;
/* rgb */ color: rgb(82, 20, 42);
/* oklch */ color: oklch(30.3% 0.094 3.0);
Tailwind
colors: {
  custom: {
    50: '#865763',
    500: '#52142a',
    950: '#000000',
  },
}
SCSS
$custom: #52142a;
$custom-light: #865763;
$custom-dark: #000000;
JSON
{
  "hex": "#52142a",
  "rgb": {
    "r": 82,
    "g": 20,
    "b": 42
  },
  "hsl": {
    "h": 338.71,
    "s": 60.784,
    "l": 20
  },
  "oklch": {
    "l": 0.30308,
    "c": 0.09368,
    "h": 3
  },
  "luminance": 0.02461
}

Semantic roles & 50–950 ramp

primary
#52142A
secondary
#388A6D
accent
#E4AB44
background
#F8F5F5
surface
#F0E9EA
border
#CBC5C6
text
#0C0305
muted
#7D7879

Preview Lab

Preview with #52142A

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

Preview Lab → · Contrast checker → · Palette generator →

#52142A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva