#901240#901240

#901240 is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.8% C 0.159 H 6.9°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#901240
RGBrgb(144, 18, 64)
HSLhsl(338, 78%, 32%)
HSVhsv(338, 88%, 56%)
CMYKcmyk(0%, 87.5%, 55.6%, 43.5%)
CIE-LABlab(31.19, 51.83, 7.51)
CIE-LCHlch(31.19, 52.37, 8.25°)
OKLaboklab(42.75% 0.1582 0.0193)
OKLCHoklch(42.75% 0.159 6.9)
XYZxyz(12.6446, 6.7339, 5.4835)
Luminance0.0673 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#901240 #129062
analogous
#90127F #901240 #902312
triadic
#901240 #409012 #124090
tetradic
#901240 #7F9012 #129062 #231290
square
#901240 #7F9012 #129062 #231290
split-complementary
#901240 #129023 #127F90
monochromatic
#230410 #5A0B28 #901240 #C61958 #E63677

Accessibility & contrast

On white

8.95
#901240 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#901240 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #901240
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##901240#FFFFFF#000000##FFFFFF
##9012401.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373A41
Deuteranopia (green-blind)
#57523D
Tritanopia (blue-blind)
#9E0028
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #901240;
/* rgb */ color: rgb(144, 18, 64);
/* oklch */ color: oklch(42.8% 0.159 6.9);
Tailwind
colors: {
  custom: {
    50: '#b76274',
    500: '#901240',
    950: '#000000',
  },
}
SCSS
$custom: #901240;
$custom-light: #b76274;
$custom-dark: #000000;
JSON
{
  "hex": "#901240",
  "rgb": {
    "r": 144,
    "g": 18,
    "b": 64
  },
  "hsl": {
    "h": 338.095,
    "s": 77.778,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42754,
    "c": 0.15938,
    "h": 6.9
  },
  "luminance": 0.06732
}

Semantic roles & 50–950 ramp

primary
#901240
secondary
#3AC492
accent
#F4AE34
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #901240

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

Preview Lab → · Contrast checker → · Palette generator →

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