#501731#501731

#501731 is a dark, moderate pink. Relative luminance 0.025; OKLCH L 30.6% C 0.090 H 355.6°. Best body text is #FFFFFF at 13.93:1 contrast (WCAG AA passes).

Color values

HEX#501731
RGBrgb(80, 23, 49)
HSLhsl(333, 55%, 20%)
HSVhsv(333, 71%, 31%)
CMYKcmyk(0%, 71.2%, 38.8%, 68.6%)
CIE-LABlab(18.10, 29.35, -2.77)
CIE-LCHlch(18.10, 29.48, 354.61°)
OKLaboklab(30.58% 0.0897 -0.0069)
OKLCHoklch(30.58% 0.09 355.6)
XYZxyz(4.1693, 2.5405, 3.1759)
Luminance0.0254 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501731 #175036
analogous
#50174D #501731 #501A17
triadic
#501731 #315017 #173150
tetradic
#501731 #4D5017 #175036 #1A1750
square
#501731 #4D5017 #175036 #1A1750
split-complementary
#501731 #17501A #174D50
monochromatic
#18070F #200914 #501731 #80254E #AF326B

Accessibility & contrast

On white

13.93
#501731 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#501731 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501731
13.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501731#FFFFFF#000000##FFFFFF
##5017311.0013.931.5113.93
#FFFFFF13.931.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212632
Deuteranopia (green-blind)
#303030
Tritanopia (blue-blind)
#571222
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #501731;
/* rgb */ color: rgb(80, 23, 49);
/* oklch */ color: oklch(30.6% 0.090 355.6);
Tailwind
colors: {
  custom: {
    50: '#845869',
    500: '#501731',
    950: '#000000',
  },
}
SCSS
$custom: #501731;
$custom-light: #845869;
$custom-dark: #000000;
JSON
{
  "hex": "#501731",
  "rgb": {
    "r": 80,
    "g": 23,
    "b": 49
  },
  "hsl": {
    "h": 332.632,
    "s": 55.34,
    "l": 20.196
  },
  "oklch": {
    "l": 0.30577,
    "c": 0.08997,
    "h": 355.6
  },
  "luminance": 0.0254
}

Semantic roles & 50–950 ramp

primary
#501731
secondary
#3C8765
accent
#DF9A49
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0306
muted
#7C787A

Preview Lab

Preview with #501731

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

Preview Lab → · Contrast checker → · Palette generator →

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