#902178#902178

#902178 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 46.0% C 0.172 H 338.4°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#902178
RGBrgb(144, 33, 120)
HSLhsl(313, 63%, 35%)
HSVhsv(313, 77%, 56%)
CMYKcmyk(0%, 77.1%, 16.7%, 43.5%)
CIE-LABlab(34.75, 54.04, -23.41)
CIE-LCHlch(34.75, 58.89, 336.58°)
OKLaboklab(46.04% 0.1602 -0.0635)
OKLCHoklch(46.04% 0.172 338.4)
XYZxyz(15.4360, 8.3746, 18.5692)
Luminance0.0837 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902178 #219039
analogous
#712190 #902178 #902141
triadic
#902178 #789021 #217890
tetradic
#902178 #907121 #219039 #214190
square
#902178 #907121 #219039 #214190
split-complementary
#902178 #419021 #219071
monochromatic
#2C0A25 #5E164F #902178 #C22CA1 #D854BB

Accessibility & contrast

On white

7.85
#902178 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#902178 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902178
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902178#FFFFFF#000000##FFFFFF
##9021781.007.852.677.85
#FFFFFF7.851.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27477A
Deuteranopia (green-blind)
#4C5875
Tritanopia (blue-blind)
#98274A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #902178;
/* rgb */ color: rgb(144, 33, 120);
/* oklch */ color: oklch(46.0% 0.172 338.4);
Tailwind
colors: {
  custom: {
    50: '#b4699f',
    500: '#902178',
    950: '#000000',
  },
}
SCSS
$custom: #902178;
$custom-light: #b4699f;
$custom-dark: #000000;
JSON
{
  "hex": "#902178",
  "rgb": {
    "r": 144,
    "g": 33,
    "b": 120
  },
  "hsl": {
    "h": 312.973,
    "s": 62.712,
    "l": 34.706
  },
  "oklch": {
    "l": 0.46037,
    "c": 0.17235,
    "h": 338.4
  },
  "luminance": 0.08373
}

Semantic roles & 50–950 ramp

primary
#902178
secondary
#51BB68
accent
#E66542
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #902178

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

Preview Lab → · Contrast checker → · Palette generator →

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