#902177#902177

#902177 is a mid, vivid pink. Relative luminance 0.083; OKLCH L 46.0% C 0.172 H 338.9°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#902177
RGBrgb(144, 33, 119)
HSLhsl(314, 63%, 35%)
HSVhsv(314, 77%, 56%)
CMYKcmyk(0%, 77.1%, 17.4%, 43.5%)
CIE-LABlab(34.70, 53.89, -22.86)
CIE-LCHlch(34.70, 58.54, 337.02°)
OKLaboklab(45.99% 0.1601 -0.0619)
OKLCHoklch(45.99% 0.172 338.9)
XYZxyz(15.3756, 8.3504, 18.2512)
Luminance0.0835 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902177 #21903A
analogous
#722190 #902177 #90213F
triadic
#902177 #779021 #217790
tetradic
#902177 #907221 #21903A #213F90
square
#902177 #907221 #21903A #213F90
split-complementary
#902177 #3F9021 #219072
monochromatic
#2C0A25 #5E164E #902177 #C22CA0 #D854BA

Accessibility & contrast

On white

7.87
#902177 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#902177 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902177
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902177#FFFFFF#000000##FFFFFF
##9021771.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274779
Deuteranopia (green-blind)
#4D5874
Tritanopia (blue-blind)
#98264A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #902177;
/* rgb */ color: rgb(144, 33, 119);
/* oklch */ color: oklch(46.0% 0.172 338.9);
Tailwind
colors: {
  custom: {
    50: '#b4699e',
    500: '#902177',
    950: '#000000',
  },
}
SCSS
$custom: #902177;
$custom-light: #b4699e;
$custom-dark: #000000;
JSON
{
  "hex": "#902177",
  "rgb": {
    "r": 144,
    "g": 33,
    "b": 119
  },
  "hsl": {
    "h": 313.514,
    "s": 62.712,
    "l": 34.706
  },
  "oklch": {
    "l": 0.45986,
    "c": 0.17166,
    "h": 338.9
  },
  "luminance": 0.08349
}

Semantic roles & 50–950 ramp

primary
#902177
secondary
#51BB69
accent
#E66742
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #902177

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

Preview Lab → · Contrast checker → · Palette generator →

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