#501225#501225

#501225 is a dark, moderate pink. Relative luminance 0.023; OKLCH L 29.5% C 0.093 H 6.5°. Best body text is #FFFFFF at 14.44:1 contrast (WCAG AA passes).

Color values

HEX#501225
RGBrgb(80, 18, 37)
HSLhsl(342, 63%, 19%)
HSVhsv(342, 78%, 31%)
CMYKcmyk(0%, 77.5%, 53.7%, 68.6%)
CIE-LABlab(16.86, 30.23, 4.01)
CIE-LCHlch(16.86, 30.49, 7.55°)
OKLaboklab(29.52% 0.0922 0.0105)
OKLCHoklch(29.52% 0.093 6.5)
XYZxyz(3.8588, 2.2722, 1.9853)
Luminance0.0227 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501225 #12503D
analogous
#501244 #501225 #501E12
triadic
#501225 #255012 #122550
tetradic
#501225 #445012 #12503D #1E1250
square
#501225 #445012 #12503D #1E1250
split-complementary
#501225 #12501E #124450
monochromatic
#19060C #1E070E #501225 #821D3C #B42853

Accessibility & contrast

On white

14.44
#501225 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#501225 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501225
14.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501225#FFFFFF#000000##FFFFFF
##5012251.0014.441.4514.44
#FFFFFF14.441.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202225
Deuteranopia (green-blind)
#312E24
Tritanopia (blue-blind)
#58071A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #501225;
/* rgb */ color: rgb(80, 18, 37);
/* oklch */ color: oklch(29.5% 0.093 6.5);
Tailwind
colors: {
  custom: {
    50: '#85555f',
    500: '#501225',
    950: '#000000',
  },
}
SCSS
$custom: #501225;
$custom-light: #85555f;
$custom-dark: #000000;
JSON
{
  "hex": "#501225",
  "rgb": {
    "r": 80,
    "g": 18,
    "b": 37
  },
  "hsl": {
    "h": 341.613,
    "s": 63.265,
    "l": 19.216
  },
  "oklch": {
    "l": 0.29521,
    "c": 0.09278,
    "h": 6.5
  },
  "luminance": 0.02272
}

Semantic roles & 50–950 ramp

primary
#501225
secondary
#35896F
accent
#E6B441
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0304
muted
#7D7879

Preview Lab

Preview with #501225

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

Preview Lab → · Contrast checker → · Palette generator →

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