#902979#902979

#902979 is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.8% C 0.164 H 338.2°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#902979
RGBrgb(144, 41, 121)
HSLhsl(313, 56%, 36%)
HSVhsv(313, 72%, 56%)
CMYKcmyk(0%, 71.5%, 16%, 43.5%)
CIE-LABlab(35.79, 51.40, -22.42)
CIE-LCHlch(35.79, 56.08, 336.43°)
OKLaboklab(46.8% 0.152 -0.0608)
OKLCHoklch(46.8% 0.164 338.2)
XYZxyz(15.7461, 8.8971, 18.9735)
Luminance0.0890 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902979 #299040
analogous
#742990 #902979 #902946
triadic
#902979 #799029 #297990
tetradic
#902979 #907429 #299040 #294690
square
#902979 #907429 #299040 #294690
split-complementary
#902979 #469029 #299074
monochromatic
#310E29 #601B51 #902979 #C037A1 #D261B9

Accessibility & contrast

On white

7.56
#902979 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#902979 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902979
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902979#FFFFFF#000000##FFFFFF
##9029791.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #902979;
/* rgb */ color: rgb(144, 41, 121);
/* oklch */ color: oklch(46.8% 0.164 338.2);
Tailwind
colors: {
  custom: {
    50: '#b46ca0',
    500: '#902979',
    950: '#000000',
  },
}
SCSS
$custom: #902979;
$custom-light: #b46ca0;
$custom-dark: #000000;
JSON
{
  "hex": "#902979",
  "rgb": {
    "r": 144,
    "g": 41,
    "b": 121
  },
  "hsl": {
    "h": 313.398,
    "s": 55.676,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46801,
    "c": 0.16367,
    "h": 338.2
  },
  "luminance": 0.08896
}

Semantic roles & 50–950 ramp

primary
#902979
secondary
#5DB871
accent
#DF6A49
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #902979

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

Preview Lab → · Contrast checker → · Palette generator →

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