#902179#902179

#902179 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 46.1% C 0.173 H 337.9°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#902179
RGBrgb(144, 33, 121)
HSLhsl(312, 63%, 35%)
HSVhsv(312, 77%, 56%)
CMYKcmyk(0%, 77.1%, 16%, 43.5%)
CIE-LABlab(34.80, 54.19, -23.96)
CIE-LCHlch(34.80, 59.25, 336.15°)
OKLaboklab(46.09% 0.1603 -0.0651)
OKLCHoklch(46.09% 0.173 337.9)
XYZxyz(15.4970, 8.3990, 18.8905)
Luminance0.0840 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902179 #219038
analogous
#6F2190 #902179 #902142
triadic
#902179 #799021 #217990
tetradic
#902179 #906F21 #219038 #214290
square
#902179 #906F21 #219038 #214290
split-complementary
#902179 #429021 #21906F
monochromatic
#2C0A25 #5E164F #902179 #C22CA3 #D854BC

Accessibility & contrast

On white

7.84
#902179 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#902179 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902179
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902179#FFFFFF#000000##FFFFFF
##9021791.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26477B
Deuteranopia (green-blind)
#4C5876
Tritanopia (blue-blind)
#98274B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #902179;
/* rgb */ color: rgb(144, 33, 121);
/* oklch */ color: oklch(46.1% 0.173 337.9);
Tailwind
colors: {
  custom: {
    50: '#b469a0',
    500: '#902179',
    950: '#000000',
  },
}
SCSS
$custom: #902179;
$custom-light: #b469a0;
$custom-dark: #000000;
JSON
{
  "hex": "#902179",
  "rgb": {
    "r": 144,
    "g": 33,
    "b": 121
  },
  "hsl": {
    "h": 312.432,
    "s": 62.712,
    "l": 34.706
  },
  "oklch": {
    "l": 0.46089,
    "c": 0.17304,
    "h": 337.9
  },
  "luminance": 0.08397
}

Semantic roles & 50–950 ramp

primary
#902179
secondary
#51BB67
accent
#E66442
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #902179

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

Preview Lab → · Contrast checker → · Palette generator →

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