#902042#902042

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

Color values

HEX#902042
RGBrgb(144, 32, 66)
HSLhsl(342, 64%, 35%)
HSVhsv(342, 78%, 56%)
CMYKcmyk(0%, 77.8%, 54.2%, 43.5%)
CIE-LABlab(32.61, 48.12, 8.17)
CIE-LCHlch(32.61, 48.81, 9.64°)
OKLaboklab(43.81% 0.1465 0.021)
OKLCHoklch(43.81% 0.148 8.1)
XYZxyz(13.0027, 7.3575, 5.8887)
Luminance0.0736 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902042 #20906E
analogous
#90207A #902042 #903620
triadic
#902042 #429020 #204290
tetradic
#902042 #7A9020 #20906E #362090
square
#902042 #7A9020 #20906E #362090
split-complementary
#902042 #209036 #207A90
monochromatic
#2C0A14 #5E152B #902042 #C22B59 #D9527B

Accessibility & contrast

On white

8.50
#902042 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #902042
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902042#FFFFFF#000000##FFFFFF
##9020421.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3E43
Deuteranopia (green-blind)
#5A553F
Tritanopia (blue-blind)
#9D002E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #902042;
/* rgb */ color: rgb(144, 32, 66);
/* oklch */ color: oklch(43.8% 0.148 8.1);
Tailwind
colors: {
  custom: {
    50: '#b66776',
    500: '#902042',
    950: '#000000',
  },
}
SCSS
$custom: #902042;
$custom-light: #b66776;
$custom-dark: #000000;
JSON
{
  "hex": "#902042",
  "rgb": {
    "r": 144,
    "g": 32,
    "b": 66
  },
  "hsl": {
    "h": 341.786,
    "s": 63.636,
    "l": 34.51
  },
  "oklch": {
    "l": 0.43811,
    "c": 0.14798,
    "h": 8.1
  },
  "luminance": 0.07356
}

Semantic roles & 50–950 ramp

primary
#902042
secondary
#50BC9B
accent
#E7B441
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #902042

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

Preview Lab → · Contrast checker → · Palette generator →

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