#901A42#901A42

#901A42 is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.3% C 0.154 H 7.0°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#901A42
RGBrgb(144, 26, 66)
HSLhsl(340, 69%, 33%)
HSVhsv(340, 82%, 56%)
CMYKcmyk(0%, 81.9%, 54.2%, 43.5%)
CIE-LABlab(31.95, 49.97, 7.25)
CIE-LCHlch(31.95, 50.50, 8.25°)
OKLaboklab(43.33% 0.1525 0.0187)
OKLCHoklch(43.33% 0.154 7)
XYZxyz(12.8556, 7.0633, 5.8396)
Luminance0.0706 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#901A42 #1A9068
analogous
#901A7D #901A42 #902D1A
triadic
#901A42 #42901A #1A4290
tetradic
#901A42 #7D901A #1A9068 #2D1A90
square
#901A42 #7D901A #1A9068 #2D1A90
split-complementary
#901A42 #1A902D #1A7D90
monochromatic
#280712 #5C112A #901A42 #C4235A #DE477A

Accessibility & contrast

On white

8.71
#901A42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#901A42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #901A42
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##901A42#FFFFFF#000000##FFFFFF
##901A421.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3C43
Deuteranopia (green-blind)
#59543F
Tritanopia (blue-blind)
#9E002C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #901a42;
/* rgb */ color: rgb(144, 26, 66);
/* oklch */ color: oklch(43.3% 0.154 7.0);
Tailwind
colors: {
  custom: {
    50: '#b76476',
    500: '#901a42',
    950: '#000000',
  },
}
SCSS
$custom: #901a42;
$custom-light: #b76476;
$custom-dark: #000000;
JSON
{
  "hex": "#901a42",
  "rgb": {
    "r": 144,
    "g": 26,
    "b": 66
  },
  "hsl": {
    "h": 339.661,
    "s": 69.412,
    "l": 33.333
  },
  "oklch": {
    "l": 0.43327,
    "c": 0.15362,
    "h": 7
  },
  "luminance": 0.07061
}

Semantic roles & 50–950 ramp

primary
#901A42
secondary
#47BF96
accent
#ECB03C
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #901A42

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

Preview Lab → · Contrast checker → · Palette generator →

#901A42 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva