#902173#902173

#902173 is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.8% C 0.169 H 340.8°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#902173
RGBrgb(144, 33, 115)
HSLhsl(316, 63%, 35%)
HSVhsv(316, 77%, 56%)
CMYKcmyk(0%, 77.1%, 20.1%, 43.5%)
CIE-LABlab(34.51, 53.32, -20.63)
CIE-LCHlch(34.51, 57.17, 338.85°)
OKLaboklab(45.79% 0.1596 -0.0556)
OKLCHoklch(45.79% 0.169 340.8)
XYZxyz(15.1404, 8.2563, 17.0126)
Luminance0.0825 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902173 #21903E
analogous
#762190 #902173 #90213B
triadic
#902173 #739021 #217390
tetradic
#902173 #907621 #21903E #213B90
square
#902173 #907621 #21903E #213B90
split-complementary
#902173 #3B9021 #219076
monochromatic
#2C0A23 #5E164B #902173 #C22C9B #D854B5

Accessibility & contrast

On white

7.92
#902173 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#902173 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902173
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902173#FFFFFF#000000##FFFFFF
##9021731.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4675
Deuteranopia (green-blind)
#4E5870
Tritanopia (blue-blind)
#992448
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #902173;
/* rgb */ color: rgb(144, 33, 115);
/* oklch */ color: oklch(45.8% 0.169 340.8);
Tailwind
colors: {
  custom: {
    50: '#b4699b',
    500: '#902173',
    950: '#000000',
  },
}
SCSS
$custom: #902173;
$custom-light: #b4699b;
$custom-dark: #000000;
JSON
{
  "hex": "#902173",
  "rgb": {
    "r": 144,
    "g": 33,
    "b": 115
  },
  "hsl": {
    "h": 315.676,
    "s": 62.712,
    "l": 34.706
  },
  "oklch": {
    "l": 0.45786,
    "c": 0.16897,
    "h": 340.8
  },
  "luminance": 0.08255
}

Semantic roles & 50–950 ramp

primary
#902173
secondary
#51BB6D
accent
#E66D42
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #902173

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

Preview Lab → · Contrast checker → · Palette generator →

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