#52142F#52142F

#52142F is a dark, moderate pink. Relative luminance 0.025; OKLCH L 30.5% C 0.096 H 357.8°. Best body text is #FFFFFF at 14.00:1 contrast (WCAG AA passes).

Color values

HEX#52142F
RGBrgb(82, 20, 47)
HSLhsl(334, 61%, 20%)
HSVhsv(334, 76%, 32%)
CMYKcmyk(0%, 75.6%, 42.7%, 67.8%)
CIE-LABlab(17.92, 31.17, -1.58)
CIE-LCHlch(17.92, 31.21, 357.11°)
OKLaboklab(30.49% 0.0955 -0.0037)
OKLCHoklch(30.49% 0.096 357.8)
XYZxyz(4.2432, 2.4999, 2.9479)
Luminance0.0250 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52142F #145237
analogous
#52144E #52142F #521814
triadic
#52142F #2F5214 #142F52
tetradic
#52142F #4E5214 #145237 #181452
square
#52142F #4E5214 #145237 #181452
split-complementary
#52142F #145218 #144E52
monochromatic
#19060E #210813 #52142F #83204B #B42C67

Accessibility & contrast

On white

14.00
#52142F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#52142F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52142F
14.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52142F#FFFFFF#000000##FFFFFF
##52142F1.0014.001.5014.00
#FFFFFF14.001.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202430
Deuteranopia (green-blind)
#31302E
Tritanopia (blue-blind)
#590D1F
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #52142f;
/* rgb */ color: rgb(82, 20, 47);
/* oklch */ color: oklch(30.5% 0.096 357.8);
Tailwind
colors: {
  custom: {
    50: '#865767',
    500: '#52142f',
    950: '#000000',
  },
}
SCSS
$custom: #52142f;
$custom-light: #865767;
$custom-dark: #000000;
JSON
{
  "hex": "#52142f",
  "rgb": {
    "r": 82,
    "g": 20,
    "b": 47
  },
  "hsl": {
    "h": 333.871,
    "s": 60.784,
    "l": 20
  },
  "oklch": {
    "l": 0.30493,
    "c": 0.0956,
    "h": 357.8
  },
  "luminance": 0.02499
}

Semantic roles & 50–950 ramp

primary
#52142F
secondary
#388A66
accent
#E49E44
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0C0306
muted
#7D787A

Preview Lab

Preview with #52142F

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

Preview Lab → · Contrast checker → · Palette generator →

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