#902874#902874

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

Color values

HEX#902874
RGBrgb(144, 40, 116)
HSLhsl(316, 57%, 36%)
HSVhsv(316, 72%, 56%)
CMYKcmyk(0%, 72.2%, 19.4%, 43.5%)
CIE-LABlab(35.42, 51.03, -19.86)
CIE-LCHlch(35.42, 54.76, 338.74°)
OKLaboklab(46.46% 0.1523 -0.0535)
OKLCHoklch(46.46% 0.161 340.7)
XYZxyz(15.4132, 8.7093, 17.3889)
Luminance0.0871 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902874 #289044
analogous
#782890 #902874 #902840
triadic
#902874 #749028 #287490
tetradic
#902874 #907828 #289044 #284090
square
#902874 #907828 #289044 #284090
split-complementary
#902874 #409028 #289078
monochromatic
#300D27 #601B4D #902874 #C0359B #D360B4

Accessibility & contrast

On white

7.66
#902874 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #902874
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902874#FFFFFF#000000##FFFFFF
##9028741.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304976
Deuteranopia (green-blind)
#505972
Tritanopia (blue-blind)
#992B4A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #902874;
/* rgb */ color: rgb(144, 40, 116);
/* oklch */ color: oklch(46.5% 0.161 340.7);
Tailwind
colors: {
  custom: {
    50: '#b46c9c',
    500: '#902874',
    950: '#000000',
  },
}
SCSS
$custom: #902874;
$custom-light: #b46c9c;
$custom-dark: #000000;
JSON
{
  "hex": "#902874",
  "rgb": {
    "r": 144,
    "g": 40,
    "b": 116
  },
  "hsl": {
    "h": 316.154,
    "s": 56.522,
    "l": 36.078
  },
  "oklch": {
    "l": 0.46459,
    "c": 0.16143,
    "h": 340.7
  },
  "luminance": 0.08708
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #902874

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

Preview Lab → · Contrast checker → · Palette generator →

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