#902878#902878

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

Color values

HEX#902878
RGBrgb(144, 40, 120)
HSLhsl(314, 57%, 36%)
HSVhsv(314, 72%, 56%)
CMYKcmyk(0%, 72.2%, 16.7%, 43.5%)
CIE-LABlab(35.60, 51.62, -22.08)
CIE-LCHlch(35.60, 56.14, 336.84°)
OKLaboklab(46.66% 0.1529 -0.0598)
OKLCHoklch(46.66% 0.164 338.7)
XYZxyz(15.6509, 8.8044, 18.6408)
Luminance0.0880 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902878 #289040
analogous
#742890 #902878 #902844
triadic
#902878 #789028 #287890
tetradic
#902878 #907428 #289040 #284490
square
#902878 #907428 #289040 #284490
split-complementary
#902878 #449028 #289074
monochromatic
#300D28 #601B50 #902878 #C035A0 #D360B8

Accessibility & contrast

On white

7.61
#902878 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #902878
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902878#FFFFFF#000000##FFFFFF
##9028781.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #902878;
/* rgb */ color: rgb(144, 40, 120);
/* oklch */ color: oklch(46.7% 0.164 338.7);
Tailwind
colors: {
  custom: {
    50: '#b46c9f',
    500: '#902878',
    950: '#000000',
  },
}
SCSS
$custom: #902878;
$custom-light: #b46c9f;
$custom-dark: #000000;
JSON
{
  "hex": "#902878",
  "rgb": {
    "r": 144,
    "g": 40,
    "b": 120
  },
  "hsl": {
    "h": 313.846,
    "s": 56.522,
    "l": 36.078
  },
  "oklch": {
    "l": 0.46655,
    "c": 0.1642,
    "h": 338.7
  },
  "luminance": 0.08803
}

Semantic roles & 50–950 ramp

primary
#902878
secondary
#5CB871
accent
#E06B48
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #902878

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

Preview Lab → · Contrast checker → · Palette generator →

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