#901842#901842

#901842 is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.2% C 0.155 H 6.7°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#901842
RGBrgb(144, 24, 66)
HSLhsl(339, 71%, 33%)
HSVhsv(339, 83%, 56%)
CMYKcmyk(0%, 83.3%, 54.2%, 43.5%)
CIE-LABlab(31.76, 50.53, 6.98)
CIE-LCHlch(31.76, 51.01, 7.86°)
OKLaboklab(43.18% 0.1543 0.018)
OKLCHoklch(43.18% 0.155 6.7)
XYZxyz(12.8128, 6.9778, 5.8254)
Luminance0.0698 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#901842 #189066
analogous
#90187E #901842 #902A18
triadic
#901842 #429018 #184290
tetradic
#901842 #7E9018 #189066 #2A1890
square
#901842 #7E9018 #189066 #2A1890
split-complementary
#901842 #18902A #187E90
monochromatic
#270712 #5C0F2A #901842 #C4215A #E0437A

Accessibility & contrast

On white

8.77
#901842 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#901842 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #901842
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##901842#FFFFFF#000000##FFFFFF
##9018421.008.772.408.77
#FFFFFF8.771.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393C43
Deuteranopia (green-blind)
#58533F
Tritanopia (blue-blind)
#9E002B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #901842;
/* rgb */ color: rgb(144, 24, 66);
/* oklch */ color: oklch(43.2% 0.155 6.7);
Tailwind
colors: {
  custom: {
    50: '#b76476',
    500: '#901842',
    950: '#000000',
  },
}
SCSS
$custom: #901842;
$custom-light: #b76476;
$custom-dark: #000000;
JSON
{
  "hex": "#901842",
  "rgb": {
    "r": 144,
    "g": 24,
    "b": 66
  },
  "hsl": {
    "h": 339,
    "s": 71.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.43184,
    "c": 0.15532,
    "h": 6.7
  },
  "luminance": 0.06976
}

Semantic roles & 50–950 ramp

primary
#901842
secondary
#43C095
accent
#EEAF3A
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #901842

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

Preview Lab → · Contrast checker → · Palette generator →

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