#902A79#902A79

#902A79 is a mid, vivid pink. Relative luminance 0.090; OKLCH L 46.9% C 0.162 H 338.3°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#902A79
RGBrgb(144, 42, 121)
HSLhsl(314, 55%, 36%)
HSVhsv(314, 71%, 56%)
CMYKcmyk(0%, 70.8%, 16%, 43.5%)
CIE-LABlab(35.92, 51.02, -22.21)
CIE-LCHlch(35.92, 55.64, 336.47°)
OKLaboklab(46.9% 0.1508 -0.0602)
OKLCHoklch(46.9% 0.162 338.3)
XYZxyz(15.7811, 8.9671, 18.9852)
Luminance0.0897 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902A79 #2A9041
analogous
#742A90 #902A79 #902A46
triadic
#902A79 #79902A #2A7990
tetradic
#902A79 #90742A #2A9041 #2A4690
square
#902A79 #90742A #2A9041 #2A4690
split-complementary
#902A79 #46902A #2A9074
monochromatic
#310E29 #611C51 #902A79 #BF38A1 #D163B9

Accessibility & contrast

On white

7.52
#902A79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#902A79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902A79
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902A79#FFFFFF#000000##FFFFFF
##902A791.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4A7B
Deuteranopia (green-blind)
#4F5A77
Tritanopia (blue-blind)
#982F4E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #902a79;
/* rgb */ color: rgb(144, 42, 121);
/* oklch */ color: oklch(46.9% 0.162 338.3);
Tailwind
colors: {
  custom: {
    50: '#b46da0',
    500: '#902a79',
    950: '#000000',
  },
}
SCSS
$custom: #902a79;
$custom-light: #b46da0;
$custom-dark: #000000;
JSON
{
  "hex": "#902a79",
  "rgb": {
    "r": 144,
    "g": 42,
    "b": 121
  },
  "hsl": {
    "h": 313.529,
    "s": 54.839,
    "l": 36.471
  },
  "oklch": {
    "l": 0.469,
    "c": 0.16238,
    "h": 338.3
  },
  "luminance": 0.08966
}

Semantic roles & 50–950 ramp

primary
#902A79
secondary
#5EB772
accent
#DE6B4A
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #902A79

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

Preview Lab → · Contrast checker → · Palette generator →

#902A79 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva