#501938#501938

#501938 is a dark, moderate pink. Relative luminance 0.027; OKLCH L 31.1% C 0.091 H 348.8°. Best body text is #FFFFFF at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#501938
RGBrgb(80, 25, 56)
HSLhsl(326, 52%, 21%)
HSVhsv(326, 69%, 31%)
CMYKcmyk(0%, 68.8%, 30%, 68.6%)
CIE-LABlab(18.74, 29.37, -6.75)
CIE-LCHlch(18.74, 30.13, 347.06°)
OKLaboklab(31.14% 0.089 -0.0177)
OKLCHoklch(31.14% 0.091 348.8)
XYZxyz(4.3699, 2.6867, 4.0291)
Luminance0.0269 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501938 #195031
analogous
#4C1950 #501938 #50191C
triadic
#501938 #385019 #193850
tetradic
#501938 #504C19 #195031 #191C50
square
#501938 #504C19 #195031 #191C50
split-complementary
#501938 #1C5019 #19504C
monochromatic
#170710 #210A17 #501938 #7F2859 #AD3679

Accessibility & contrast

On white

13.66
#501938 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#501938 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501938
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501938#FFFFFF#000000##FFFFFF
##5019381.0013.661.5413.66
#FFFFFF13.661.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202839
Deuteranopia (green-blind)
#2F3137
Tritanopia (blue-blind)
#561726
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #501938;
/* rgb */ color: rgb(80, 25, 56);
/* oklch */ color: oklch(31.1% 0.091 348.8);
Tailwind
colors: {
  custom: {
    50: '#835a6e',
    500: '#501938',
    950: '#000000',
  },
}
SCSS
$custom: #501938;
$custom-light: #835a6e;
$custom-dark: #000000;
JSON
{
  "hex": "#501938",
  "rgb": {
    "r": 80,
    "g": 25,
    "b": 56
  },
  "hsl": {
    "h": 326.182,
    "s": 52.381,
    "l": 20.588
  },
  "oklch": {
    "l": 0.31143,
    "c": 0.09075,
    "h": 348.8
  },
  "luminance": 0.02686
}

Semantic roles & 50–950 ramp

primary
#501938
secondary
#3E865E
accent
#DC8B4C
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0407
muted
#7C797A

Preview Lab

Preview with #501938

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

Preview Lab → · Contrast checker → · Palette generator →

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