#501229#501229

#501229 is a dark, moderate pink. Relative luminance 0.023; OKLCH L 29.7% C 0.094 H 2.3°. Best body text is #FFFFFF at 14.39:1 contrast (WCAG AA passes).

Color values

HEX#501229
RGBrgb(80, 18, 41)
HSLhsl(338, 63%, 19%)
HSVhsv(338, 78%, 31%)
CMYKcmyk(0%, 77.5%, 48.8%, 68.6%)
CIE-LABlab(16.98, 30.66, 1.31)
CIE-LCHlch(16.98, 30.69, 2.44°)
OKLaboklab(29.66% 0.0939 0.0037)
OKLCHoklch(29.66% 0.094 2.3)
XYZxyz(3.9251, 2.2987, 2.3344)
Luminance0.0230 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501229 #125039
analogous
#501248 #501229 #501A12
triadic
#501229 #295012 #122950
tetradic
#501229 #485012 #125039 #1A1250
square
#501229 #485012 #125039 #1A1250
split-complementary
#501229 #12501A #124850
monochromatic
#19060D #1E070F #501229 #821D43 #B4285C

Accessibility & contrast

On white

14.39
#501229 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#501229 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501229
14.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501229#FFFFFF#000000##FFFFFF
##5012291.0014.391.4614.39
#FFFFFF14.391.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F222A
Deuteranopia (green-blind)
#302E28
Tritanopia (blue-blind)
#57091C
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #501229;
/* rgb */ color: rgb(80, 18, 41);
/* oklch */ color: oklch(29.7% 0.094 2.3);
Tailwind
colors: {
  custom: {
    50: '#855662',
    500: '#501229',
    950: '#000000',
  },
}
SCSS
$custom: #501229;
$custom-light: #855662;
$custom-dark: #000000;
JSON
{
  "hex": "#501229",
  "rgb": {
    "r": 80,
    "g": 18,
    "b": 41
  },
  "hsl": {
    "h": 337.742,
    "s": 63.265,
    "l": 19.216
  },
  "oklch": {
    "l": 0.29657,
    "c": 0.09395,
    "h": 2.3
  },
  "luminance": 0.02298
}

Semantic roles & 50–950 ramp

primary
#501229
secondary
#35896A
accent
#E6A941
background
#F8F5F5
surface
#F0E9EA
border
#CBC5C6
text
#0B0305
muted
#7C7879

Preview Lab

Preview with #501229

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

Preview Lab → · Contrast checker → · Palette generator →

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