#50152A#50152A

#50152A is a dark, moderate pink. Relative luminance 0.024; OKLCH L 30.1% C 0.090 H 2.4°. Best body text is #FFFFFF at 14.17:1 contrast (WCAG AA passes).

Color values

HEX#50152A
RGBrgb(80, 21, 42)
HSLhsl(339, 58%, 20%)
HSVhsv(339, 74%, 31%)
CMYKcmyk(0%, 73.7%, 47.5%, 68.6%)
CIE-LABlab(17.50, 29.42, 1.34)
CIE-LCHlch(17.50, 29.45, 2.61°)
OKLaboklab(30.05% 0.09 0.0038)
OKLCHoklch(30.05% 0.09 2.4)
XYZxyz(3.9946, 2.4095, 2.4448)
Luminance0.0241 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50152A #15503B
analogous
#501548 #50152A #501D15
triadic
#50152A #2A5015 #152A50
tetradic
#50152A #485015 #15503B #1D1550
square
#50152A #485015 #15503B #1D1550
split-complementary
#50152A #15501D #154850
monochromatic
#18060D #200811 #50152A #802243 #B12E5D

Accessibility & contrast

On white

14.17
#50152A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#50152A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50152A
14.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50152A#FFFFFF#000000##FFFFFF
##50152A1.0014.171.4814.17
#FFFFFF14.171.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21242B
Deuteranopia (green-blind)
#312F29
Tritanopia (blue-blind)
#570D1D
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #50152a;
/* rgb */ color: rgb(80, 21, 42);
/* oklch */ color: oklch(30.1% 0.090 2.4);
Tailwind
colors: {
  custom: {
    50: '#845763',
    500: '#50152a',
    950: '#000000',
  },
}
SCSS
$custom: #50152a;
$custom-light: #845763;
$custom-dark: #000000;
JSON
{
  "hex": "#50152a",
  "rgb": {
    "r": 80,
    "g": 21,
    "b": 42
  },
  "hsl": {
    "h": 338.644,
    "s": 58.416,
    "l": 19.804
  },
  "oklch": {
    "l": 0.30054,
    "c": 0.09007,
    "h": 2.4
  },
  "luminance": 0.02409
}

Semantic roles & 50–950 ramp

primary
#50152A
secondary
#39886C
accent
#E2AA46
background
#F8F5F5
surface
#F0E9EA
border
#CBC5C6
text
#0B0305
muted
#7C7879

Preview Lab

Preview with #50152A

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

Preview Lab → · Contrast checker → · Palette generator →

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