#902040#902040

#902040 is a dark, vivid pink. Relative luminance 0.073; OKLCH L 43.8% C 0.148 H 9.3°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#902040
RGBrgb(144, 32, 64)
HSLhsl(343, 64%, 35%)
HSVhsv(343, 78%, 56%)
CMYKcmyk(0%, 77.8%, 55.6%, 43.5%)
CIE-LABlab(32.56, 47.96, 9.41)
CIE-LCHlch(32.56, 48.87, 11.11°)
OKLaboklab(43.76% 0.1457 0.0239)
OKLCHoklch(43.76% 0.148 9.3)
XYZxyz(12.9447, 7.3343, 5.5835)
Luminance0.0733 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902040 #209070
analogous
#902078 #902040 #903820
triadic
#902040 #409020 #204090
tetradic
#902040 #789020 #209070 #382090
square
#902040 #789020 #209070 #382090
split-complementary
#902040 #209038 #207890
monochromatic
#2C0A13 #5E152A #902040 #C22B56 #D95278

Accessibility & contrast

On white

8.51
#902040 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#902040 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902040
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902040#FFFFFF#000000##FFFFFF
##9020401.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3E41
Deuteranopia (green-blind)
#5A553D
Tritanopia (blue-blind)
#9E002E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #902040;
/* rgb */ color: rgb(144, 32, 64);
/* oklch */ color: oklch(43.8% 0.148 9.3);
Tailwind
colors: {
  custom: {
    50: '#b66674',
    500: '#902040',
    950: '#000000',
  },
}
SCSS
$custom: #902040;
$custom-light: #b66674;
$custom-dark: #000000;
JSON
{
  "hex": "#902040",
  "rgb": {
    "r": 144,
    "g": 32,
    "b": 64
  },
  "hsl": {
    "h": 342.857,
    "s": 63.636,
    "l": 34.51
  },
  "oklch": {
    "l": 0.43756,
    "c": 0.14764,
    "h": 9.3
  },
  "luminance": 0.07332
}

Semantic roles & 50–950 ramp

primary
#902040
secondary
#50BC9D
accent
#E7B741
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #902040

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

Preview Lab → · Contrast checker → · Palette generator →

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