#902779#902779

#902779 is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.6% C 0.166 H 338.1°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#902779
RGBrgb(144, 39, 121)
HSLhsl(313, 57%, 36%)
HSVhsv(313, 73%, 56%)
CMYKcmyk(0%, 72.9%, 16%, 43.5%)
CIE-LABlab(35.52, 52.14, -22.83)
CIE-LCHlch(35.52, 56.92, 336.35°)
OKLaboklab(46.61% 0.1542 -0.0619)
OKLCHoklch(46.61% 0.166 338.1)
XYZxyz(15.6786, 8.7623, 18.9510)
Luminance0.0876 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902779 #27903E
analogous
#722790 #902779 #902744
triadic
#902779 #799027 #277990
tetradic
#902779 #907227 #27903E #274490
square
#902779 #907227 #27903E #274490
split-complementary
#902779 #449027 #279072
monochromatic
#300D28 #601A51 #902779 #C034A1 #D35EBA

Accessibility & contrast

On white

7.63
#902779 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#902779 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902779
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902779#FFFFFF#000000##FFFFFF
##9027791.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B497B
Deuteranopia (green-blind)
#4E5977
Tritanopia (blue-blind)
#982C4D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #902779;
/* rgb */ color: rgb(144, 39, 121);
/* oklch */ color: oklch(46.6% 0.166 338.1);
Tailwind
colors: {
  custom: {
    50: '#b46ba0',
    500: '#902779',
    950: '#000000',
  },
}
SCSS
$custom: #902779;
$custom-light: #b46ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#902779",
  "rgb": {
    "r": 144,
    "g": 39,
    "b": 121
  },
  "hsl": {
    "h": 313.143,
    "s": 57.377,
    "l": 35.882
  },
  "oklch": {
    "l": 0.46611,
    "c": 0.16615,
    "h": 338.1
  },
  "luminance": 0.08761
}

Semantic roles & 50–950 ramp

primary
#902779
secondary
#5AB96F
accent
#E16947
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #902779

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

Preview Lab → · Contrast checker → · Palette generator →

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