#902873#902873

#902873 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.4% C 0.161 H 341.2°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#902873
RGBrgb(144, 40, 115)
HSLhsl(317, 57%, 36%)
HSVhsv(317, 72%, 56%)
CMYKcmyk(0%, 72.2%, 20.1%, 43.5%)
CIE-LABlab(35.37, 50.88, -19.30)
CIE-LCHlch(35.37, 54.42, 339.23°)
OKLaboklab(46.41% 0.1521 -0.0519)
OKLCHoklch(46.41% 0.161 341.2)
XYZxyz(15.3554, 8.6862, 17.0842)
Luminance0.0868 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902873 #289045
analogous
#792890 #902873 #90283F
triadic
#902873 #739028 #287390
tetradic
#902873 #907928 #289045 #283F90
square
#902873 #907928 #289045 #283F90
split-complementary
#902873 #3F9028 #289079
monochromatic
#300D26 #601B4D #902873 #C03599 #D360B3

Accessibility & contrast

On white

7.67
#902873 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#902873 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902873
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902873#FFFFFF#000000##FFFFFF
##9028731.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304875
Deuteranopia (green-blind)
#515971
Tritanopia (blue-blind)
#992A4A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #902873;
/* rgb */ color: rgb(144, 40, 115);
/* oklch */ color: oklch(46.4% 0.161 341.2);
Tailwind
colors: {
  custom: {
    50: '#b46c9b',
    500: '#902873',
    950: '#000000',
  },
}
SCSS
$custom: #902873;
$custom-light: #b46c9b;
$custom-dark: #000000;
JSON
{
  "hex": "#902873",
  "rgb": {
    "r": 144,
    "g": 40,
    "b": 115
  },
  "hsl": {
    "h": 316.731,
    "s": 56.522,
    "l": 36.078
  },
  "oklch": {
    "l": 0.46411,
    "c": 0.16075,
    "h": 341.2
  },
  "luminance": 0.08685
}

Semantic roles & 50–950 ramp

primary
#902873
secondary
#5CB875
accent
#E07248
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #902873

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

Preview Lab → · Contrast checker → · Palette generator →

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