#50123F#50123F

#50123F is a dark, moderate pink. Relative luminance 0.025; OKLCH L 30.6% C 0.106 H 340.9°. Best body text is #FFFFFF at 14.01:1 contrast (WCAG AA passes).

Color values

HEX#50123F
RGBrgb(80, 18, 63)
HSLhsl(316, 63%, 19%)
HSVhsv(316, 78%, 31%)
CMYKcmyk(0%, 77.5%, 21.2%, 68.6%)
CIE-LABlab(17.91, 33.68, -12.92)
CIE-LCHlch(17.91, 36.07, 339.01°)
OKLaboklab(30.64% 0.1006 -0.0348)
OKLCHoklch(30.64% 0.106 340.9)
XYZxyz(4.4219, 2.4974, 4.9508)
Luminance0.0250 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50123F #125023
analogous
#421250 #50123F #501220
triadic
#50123F #3F5012 #123F50
tetradic
#50123F #504212 #125023 #122050
square
#50123F #504212 #125023 #122050
split-complementary
#50123F #205012 #125042
monochromatic
#190614 #1E0718 #50123F #821D66 #B4288E

Accessibility & contrast

On white

14.01
#50123F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #50123F
14.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50123F#FFFFFF#000000##FFFFFF
##50123F1.0014.011.5014.01
#FFFFFF14.011.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172540
Deuteranopia (green-blind)
#2A2F3E
Tritanopia (blue-blind)
#551326
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #50123f;
/* rgb */ color: rgb(80, 18, 63);
/* oklch */ color: oklch(30.6% 0.106 340.9);
Tailwind
colors: {
  custom: {
    50: '#845674',
    500: '#50123f',
    950: '#000000',
  },
}
SCSS
$custom: #50123f;
$custom-light: #845674;
$custom-dark: #000000;
JSON
{
  "hex": "#50123f",
  "rgb": {
    "r": 80,
    "g": 18,
    "b": 63
  },
  "hsl": {
    "h": 316.452,
    "s": 63.265,
    "l": 19.216
  },
  "oklch": {
    "l": 0.30637,
    "c": 0.10647,
    "h": 340.9
  },
  "luminance": 0.02497
}

Semantic roles & 50–950 ramp

primary
#50123F
secondary
#35894C
accent
#E66F41
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0308
muted
#7C787B

Preview Lab

Preview with #50123F

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

Preview Lab → · Contrast checker → · Palette generator →

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