#90227A#90227A

#90227A is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.2% C 0.173 H 337.5°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#90227A
RGBrgb(144, 34, 122)
HSLhsl(312, 62%, 35%)
HSVhsv(312, 76%, 56%)
CMYKcmyk(0%, 76.4%, 15.3%, 43.5%)
CIE-LABlab(34.96, 54.01, -24.33)
CIE-LCHlch(34.96, 59.24, 335.75°)
OKLaboklab(46.22% 0.1595 -0.0661)
OKLCHoklch(46.22% 0.173 337.5)
XYZxyz(15.5868, 8.4800, 19.2245)
Luminance0.0848 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#90227A #229038
analogous
#6F2290 #90227A #902243
triadic
#90227A #7A9022 #227A90
tetradic
#90227A #906F22 #229038 #224390
square
#90227A #906F22 #229038 #224390
split-complementary
#90227A #439022 #22906F
monochromatic
#2D0B26 #5E1650 #90227A #C22EA4 #D755BD

Accessibility & contrast

On white

7.79
#90227A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#90227A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #90227A
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##90227A#FFFFFF#000000##FFFFFF
##90227A1.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26477C
Deuteranopia (green-blind)
#4C5877
Tritanopia (blue-blind)
#98294C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #90227a;
/* rgb */ color: rgb(144, 34, 122);
/* oklch */ color: oklch(46.2% 0.173 337.5);
Tailwind
colors: {
  custom: {
    50: '#b469a0',
    500: '#90227a',
    950: '#000000',
  },
}
SCSS
$custom: #90227a;
$custom-light: #b469a0;
$custom-dark: #000000;
JSON
{
  "hex": "#90227a",
  "rgb": {
    "r": 144,
    "g": 34,
    "b": 122
  },
  "hsl": {
    "h": 312,
    "s": 61.798,
    "l": 34.902
  },
  "oklch": {
    "l": 0.46222,
    "c": 0.17266,
    "h": 337.5
  },
  "luminance": 0.08478
}

Semantic roles & 50–950 ramp

primary
#90227A
secondary
#53BB68
accent
#E56343
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#12070F
muted
#817A7E

Preview Lab

Preview with #90227A

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

Preview Lab → · Contrast checker → · Palette generator →

#90227A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva