#902078#902078

#902078 is a mid, vivid pink. Relative luminance 0.083; OKLCH L 46.0% C 0.173 H 338.3°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#902078
RGBrgb(144, 32, 120)
HSLhsl(313, 64%, 35%)
HSVhsv(313, 78%, 56%)
CMYKcmyk(0%, 77.8%, 16.7%, 43.5%)
CIE-LABlab(34.64, 54.36, -23.58)
CIE-LCHlch(34.64, 59.25, 336.55°)
OKLaboklab(45.96% 0.1612 -0.064)
OKLCHoklch(45.96% 0.173 338.3)
XYZxyz(15.4086, 8.3199, 18.5601)
Luminance0.0832 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902078 #209038
analogous
#702090 #902078 #902040
triadic
#902078 #789020 #207890
tetradic
#902078 #907020 #209038 #204090
square
#902078 #907020 #209038 #204090
split-complementary
#902078 #409020 #209070
monochromatic
#2C0A25 #5E154E #902078 #C22BA2 #D952BC

Accessibility & contrast

On white

7.88
#902078 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#902078 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902078
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902078#FFFFFF#000000##FFFFFF
##9020781.007.882.667.88
#FFFFFF7.881.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26467A
Deuteranopia (green-blind)
#4C5875
Tritanopia (blue-blind)
#98264A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #902078;
/* rgb */ color: rgb(144, 32, 120);
/* oklch */ color: oklch(46.0% 0.173 338.3);
Tailwind
colors: {
  custom: {
    50: '#b4689f',
    500: '#902078',
    950: '#000000',
  },
}
SCSS
$custom: #902078;
$custom-light: #b4689f;
$custom-dark: #000000;
JSON
{
  "hex": "#902078",
  "rgb": {
    "r": 144,
    "g": 32,
    "b": 120
  },
  "hsl": {
    "h": 312.857,
    "s": 63.636,
    "l": 34.51
  },
  "oklch": {
    "l": 0.45957,
    "c": 0.17341,
    "h": 338.3
  },
  "luminance": 0.08318
}

Semantic roles & 50–950 ramp

primary
#902078
secondary
#50BC67
accent
#E76541
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #902078

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

Preview Lab → · Contrast checker → · Palette generator →

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