#902279#902279

#902279 is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.2% C 0.172 H 337.9°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#902279
RGBrgb(144, 34, 121)
HSLhsl(313, 62%, 35%)
HSVhsv(313, 76%, 56%)
CMYKcmyk(0%, 76.4%, 16%, 43.5%)
CIE-LABlab(34.91, 53.86, -23.78)
CIE-LCHlch(34.91, 58.88, 336.18°)
OKLaboklab(46.17% 0.1594 -0.0646)
OKLCHoklch(46.17% 0.172 337.9)
XYZxyz(15.5252, 8.4553, 18.8998)
Luminance0.0845 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902279 #229039
analogous
#702290 #902279 #902242
triadic
#902279 #799022 #227990
tetradic
#902279 #907022 #229039 #224290
square
#902279 #907022 #229039 #224290
split-complementary
#902279 #429022 #229070
monochromatic
#2D0B26 #5E164F #902279 #C22EA3 #D755BC

Accessibility & contrast

On white

7.80
#902279 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#902279 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902279
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902279#FFFFFF#000000##FFFFFF
##9022791.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #902279;
/* rgb */ color: rgb(144, 34, 121);
/* oklch */ color: oklch(46.2% 0.172 337.9);
Tailwind
colors: {
  custom: {
    50: '#b469a0',
    500: '#902279',
    950: '#000000',
  },
}
SCSS
$custom: #902279;
$custom-light: #b469a0;
$custom-dark: #000000;
JSON
{
  "hex": "#902279",
  "rgb": {
    "r": 144,
    "g": 34,
    "b": 121
  },
  "hsl": {
    "h": 312.545,
    "s": 61.798,
    "l": 34.902
  },
  "oklch": {
    "l": 0.46171,
    "c": 0.17195,
    "h": 337.9
  },
  "luminance": 0.08454
}

Semantic roles & 50–950 ramp

primary
#902279
secondary
#53BB69
accent
#E56543
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #902279

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

Preview Lab → · Contrast checker → · Palette generator →

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