#52143F#52143F

#52143F is a dark, moderate pink. Relative luminance 0.027; OKLCH L 31.2% C 0.105 H 342.5°. Best body text is #FFFFFF at 13.72:1 contrast (WCAG AA passes).

Color values

HEX#52143F
RGBrgb(82, 20, 63)
HSLhsl(318, 61%, 20%)
HSVhsv(318, 76%, 32%)
CMYKcmyk(0%, 75.6%, 23.2%, 67.8%)
CIE-LABlab(18.60, 33.44, -11.82)
CIE-LCHlch(18.60, 35.47, 340.53°)
OKLaboklab(31.22% 0.1003 -0.0317)
OKLCHoklch(31.22% 0.105 342.5)
XYZxyz(4.6272, 2.6535, 4.9701)
Luminance0.0265 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52143F #145227
analogous
#461452 #52143F #521420
triadic
#52143F #3F5214 #143F52
tetradic
#52143F #524614 #145227 #142052
square
#52143F #524614 #145227 #142052
split-complementary
#52143F #205214 #145246
monochromatic
#190613 #210819 #52143F #832065 #B42C8B

Accessibility & contrast

On white

13.72
#52143F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#52143F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52143F
13.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52143F#FFFFFF#000000##FFFFFF
##52143F1.0013.721.5313.72
#FFFFFF13.721.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2740
Deuteranopia (green-blind)
#2C313E
Tritanopia (blue-blind)
#581427
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #52143f;
/* rgb */ color: rgb(82, 20, 63);
/* oklch */ color: oklch(31.2% 0.105 342.5);
Tailwind
colors: {
  custom: {
    50: '#855874',
    500: '#52143f',
    950: '#000000',
  },
}
SCSS
$custom: #52143f;
$custom-light: #855874;
$custom-dark: #000000;
JSON
{
  "hex": "#52143f",
  "rgb": {
    "r": 82,
    "g": 20,
    "b": 63
  },
  "hsl": {
    "h": 318.387,
    "s": 60.784,
    "l": 20
  },
  "oklch": {
    "l": 0.31215,
    "c": 0.10519,
    "h": 342.5
  },
  "luminance": 0.02653
}

Semantic roles & 50–950 ramp

primary
#52143F
secondary
#388A51
accent
#E47544
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0B0308
muted
#7C787B

Preview Lab

Preview with #52143F

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

Preview Lab → · Contrast checker → · Palette generator →

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