#901840#901840

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

Color values

HEX#901840
RGBrgb(144, 24, 64)
HSLhsl(340, 71%, 33%)
HSVhsv(340, 83%, 56%)
CMYKcmyk(0%, 83.3%, 55.6%, 43.5%)
CIE-LABlab(31.70, 50.37, 8.22)
CIE-LCHlch(31.70, 51.04, 9.27°)
OKLaboklab(43.13% 0.1535 0.021)
OKLCHoklch(43.13% 0.155 7.8)
XYZxyz(12.7549, 6.9546, 5.5202)
Luminance0.0695 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#901840 #189068
analogous
#90187C #901840 #902C18
triadic
#901840 #409018 #184090
tetradic
#901840 #7C9018 #189068 #2C1890
square
#901840 #7C9018 #189068 #2C1890
split-complementary
#901840 #18902C #187C90
monochromatic
#270711 #5C0F29 #901840 #C42157 #E04377

Accessibility & contrast

On white

8.78
#901840 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#901840 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #901840
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##901840#FFFFFF#000000##FFFFFF
##9018401.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393B41
Deuteranopia (green-blind)
#58533D
Tritanopia (blue-blind)
#9E002A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #901840;
/* rgb */ color: rgb(144, 24, 64);
/* oklch */ color: oklch(43.1% 0.155 7.8);
Tailwind
colors: {
  custom: {
    50: '#b76474',
    500: '#901840',
    950: '#000000',
  },
}
SCSS
$custom: #901840;
$custom-light: #b76474;
$custom-dark: #000000;
JSON
{
  "hex": "#901840",
  "rgb": {
    "r": 144,
    "g": 24,
    "b": 64
  },
  "hsl": {
    "h": 340,
    "s": 71.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.43128,
    "c": 0.15491,
    "h": 7.8
  },
  "luminance": 0.06953
}

Semantic roles & 50–950 ramp

primary
#901840
secondary
#43C097
accent
#EEB23A
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #901840

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

Preview Lab → · Contrast checker → · Palette generator →

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