#502136#502136

#502136 is a dark, moderate pink. Relative luminance 0.031; OKLCH L 32.3% C 0.075 H 354.1°. Best body text is #FFFFFF at 13.03:1 contrast (WCAG AA passes).

Color values

HEX#502136
RGBrgb(80, 33, 54)
HSLhsl(333, 42%, 22%)
HSVhsv(333, 59%, 31%)
CMYKcmyk(0%, 58.8%, 32.5%, 68.6%)
CIE-LABlab(20.28, 24.74, -3.04)
CIE-LCHlch(20.28, 24.92, 352.99°)
OKLaboklab(32.26% 0.075 -0.0077)
OKLCHoklch(32.26% 0.075 354.1)
XYZxyz(4.5182, 3.0599, 3.8420)
Luminance0.0306 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#502136 #21503B
analogous
#50214E #502136 #502321
triadic
#502136 #365021 #213650
tetradic
#502136 #4E5021 #21503B #232150
square
#502136 #4E5021 #21503B #232150
split-complementary
#502136 #215023 #214E50
monochromatic
#16090F #250F19 #502136 #7B3353 #A74570

Accessibility & contrast

On white

13.03
#502136 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#502136 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #502136
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##502136#FFFFFF#000000##FFFFFF
##5021361.0013.031.6113.03
#FFFFFF13.031.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272C37
Deuteranopia (green-blind)
#343435
Tritanopia (blue-blind)
#561E29
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #502136;
/* rgb */ color: rgb(80, 33, 54);
/* oklch */ color: oklch(32.3% 0.075 354.1);
Tailwind
colors: {
  custom: {
    50: '#835e6d',
    500: '#502136',
    950: '#000000',
  },
}
SCSS
$custom: #502136;
$custom-light: #835e6d;
$custom-dark: #000000;
JSON
{
  "hex": "#502136",
  "rgb": {
    "r": 80,
    "g": 33,
    "b": 54
  },
  "hsl": {
    "h": 333.191,
    "s": 41.593,
    "l": 22.157
  },
  "oklch": {
    "l": 0.32262,
    "c": 0.0754,
    "h": 354.1
  },
  "luminance": 0.0306
}

Semantic roles & 50–950 ramp

primary
#502136
secondary
#49846A
accent
#D19A56
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0407
muted
#7C797A

Preview Lab

Preview with #502136

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

Preview Lab → · Contrast checker → · Palette generator →

#502136 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva