#902877#902877

#902877 is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.6% C 0.164 H 339.1°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#902877
RGBrgb(144, 40, 119)
HSLhsl(314, 57%, 36%)
HSVhsv(314, 72%, 56%)
CMYKcmyk(0%, 72.2%, 17.4%, 43.5%)
CIE-LABlab(35.56, 51.47, -21.53)
CIE-LCHlch(35.56, 55.79, 337.30°)
OKLaboklab(46.61% 0.1528 -0.0582)
OKLCHoklch(46.61% 0.164 339.1)
XYZxyz(15.5905, 8.7803, 18.3229)
Luminance0.0878 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902877 #289041
analogous
#752890 #902877 #902843
triadic
#902877 #779028 #287790
tetradic
#902877 #907528 #289041 #284390
square
#902877 #907528 #289041 #284390
split-complementary
#902877 #439028 #289075
monochromatic
#300D28 #601B4F #902877 #C0359F #D360B7

Accessibility & contrast

On white

7.62
#902877 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#902877 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902877
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902877#FFFFFF#000000##FFFFFF
##9028771.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4979
Deuteranopia (green-blind)
#4F5A75
Tritanopia (blue-blind)
#982C4C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #902877;
/* rgb */ color: rgb(144, 40, 119);
/* oklch */ color: oklch(46.6% 0.164 339.1);
Tailwind
colors: {
  custom: {
    50: '#b46c9e',
    500: '#902877',
    950: '#000000',
  },
}
SCSS
$custom: #902877;
$custom-light: #b46c9e;
$custom-dark: #000000;
JSON
{
  "hex": "#902877",
  "rgb": {
    "r": 144,
    "g": 40,
    "b": 119
  },
  "hsl": {
    "h": 314.423,
    "s": 56.522,
    "l": 36.078
  },
  "oklch": {
    "l": 0.46605,
    "c": 0.1635,
    "h": 339.1
  },
  "luminance": 0.08779
}

Semantic roles & 50–950 ramp

primary
#902877
secondary
#5CB872
accent
#E06C48
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #902877

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

Preview Lab → · Contrast checker → · Palette generator →

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