#902977#902977

#902977 is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.7% C 0.162 H 339.2°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#902977
RGBrgb(144, 41, 119)
HSLhsl(315, 56%, 36%)
HSVhsv(315, 72%, 56%)
CMYKcmyk(0%, 71.5%, 17.4%, 43.5%)
CIE-LABlab(35.69, 51.10, -21.32)
CIE-LCHlch(35.69, 55.36, 337.35°)
OKLaboklab(46.7% 0.1517 -0.0576)
OKLCHoklch(46.7% 0.162 339.2)
XYZxyz(15.6247, 8.8485, 18.3342)
Luminance0.0885 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902977 #299042
analogous
#762990 #902977 #902944
triadic
#902977 #779029 #297790
tetradic
#902977 #907629 #299042 #294490
square
#902977 #907629 #299042 #294490
split-complementary
#902977 #449029 #299076
monochromatic
#310E28 #601B50 #902977 #C0379E #D261B7

Accessibility & contrast

On white

7.58
#902977 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#902977 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902977
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902977#FFFFFF#000000##FFFFFF
##9029771.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4A79
Deuteranopia (green-blind)
#505A75
Tritanopia (blue-blind)
#982D4C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #902977;
/* rgb */ color: rgb(144, 41, 119);
/* oklch */ color: oklch(46.7% 0.162 339.2);
Tailwind
colors: {
  custom: {
    50: '#b46c9e',
    500: '#902977',
    950: '#000000',
  },
}
SCSS
$custom: #902977;
$custom-light: #b46c9e;
$custom-dark: #000000;
JSON
{
  "hex": "#902977",
  "rgb": {
    "r": 144,
    "g": 41,
    "b": 119
  },
  "hsl": {
    "h": 314.563,
    "s": 55.676,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46702,
    "c": 0.16224,
    "h": 339.2
  },
  "luminance": 0.08847
}

Semantic roles & 50–950 ramp

primary
#902977
secondary
#5DB873
accent
#DF6D49
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #902977

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

Preview Lab → · Contrast checker → · Palette generator →

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