#50152F#50152F

#50152F is a dark, moderate pink. Relative luminance 0.024; OKLCH L 30.2% C 0.092 H 357.0°. Best body text is #FFFFFF at 14.10:1 contrast (WCAG AA passes).

Color values

HEX#50152F
RGBrgb(80, 21, 47)
HSLhsl(334, 58%, 20%)
HSVhsv(334, 74%, 31%)
CMYKcmyk(0%, 73.7%, 41.3%, 68.6%)
CIE-LABlab(17.68, 30.04, -1.97)
CIE-LCHlch(17.68, 30.10, 356.24°)
OKLaboklab(30.24% 0.092 -0.0048)
OKLCHoklch(30.24% 0.092 357)
XYZxyz(4.0898, 2.4475, 2.9458)
Luminance0.0245 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50152F #155036
analogous
#50154D #50152F #501815
triadic
#50152F #2F5015 #152F50
tetradic
#50152F #4D5015 #155036 #181550
square
#50152F #4D5015 #155036 #181550
split-complementary
#50152F #155018 #154D50
monochromatic
#18060E #200813 #50152F #80224B #B12E68

Accessibility & contrast

On white

14.10
#50152F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#50152F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50152F
14.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50152F#FFFFFF#000000##FFFFFF
##50152F1.0014.101.4914.10
#FFFFFF14.101.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202430
Deuteranopia (green-blind)
#302F2E
Tritanopia (blue-blind)
#570F20
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #50152f;
/* rgb */ color: rgb(80, 21, 47);
/* oklch */ color: oklch(30.2% 0.092 357.0);
Tailwind
colors: {
  custom: {
    50: '#845767',
    500: '#50152f',
    950: '#000000',
  },
}
SCSS
$custom: #50152f;
$custom-light: #845767;
$custom-dark: #000000;
JSON
{
  "hex": "#50152f",
  "rgb": {
    "r": 80,
    "g": 21,
    "b": 47
  },
  "hsl": {
    "h": 333.559,
    "s": 58.416,
    "l": 19.804
  },
  "oklch": {
    "l": 0.30241,
    "c": 0.09209,
    "h": 357
  },
  "luminance": 0.02447
}

Semantic roles & 50–950 ramp

primary
#50152F
secondary
#398865
accent
#E29D46
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0306
muted
#7C787A

Preview Lab

Preview with #50152F

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

Preview Lab → · Contrast checker → · Palette generator →

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