#90227B#90227B

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

Color values

HEX#90227B
RGBrgb(144, 34, 123)
HSLhsl(311, 62%, 35%)
HSVhsv(311, 76%, 56%)
CMYKcmyk(0%, 76.4%, 14.6%, 43.5%)
CIE-LABlab(35.01, 54.16, -24.88)
CIE-LCHlch(35.01, 59.60, 335.33°)
OKLaboklab(46.27% 0.1596 -0.0677)
OKLCHoklch(46.27% 0.173 337)
XYZxyz(15.6491, 8.5049, 19.5525)
Luminance0.0850 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#90227B #229037
analogous
#6E2290 #90227B #902244
triadic
#90227B #7B9022 #227B90
tetradic
#90227B #906E22 #229037 #224490
square
#90227B #906E22 #229037 #224490
split-complementary
#90227B #449022 #22906E
monochromatic
#2D0B26 #5E1651 #90227B #C22EA5 #D755BE

Accessibility & contrast

On white

7.78
#90227B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #90227B
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##90227B#FFFFFF#000000##FFFFFF
##90227B1.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25487D
Deuteranopia (green-blind)
#4B5878
Tritanopia (blue-blind)
#98294C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #90227b;
/* rgb */ color: rgb(144, 34, 123);
/* oklch */ color: oklch(46.3% 0.173 337.0);
Tailwind
colors: {
  custom: {
    50: '#b469a1',
    500: '#90227b',
    950: '#000000',
  },
}
SCSS
$custom: #90227b;
$custom-light: #b469a1;
$custom-dark: #000000;
JSON
{
  "hex": "#90227b",
  "rgb": {
    "r": 144,
    "g": 34,
    "b": 123
  },
  "hsl": {
    "h": 311.455,
    "s": 61.798,
    "l": 34.902
  },
  "oklch": {
    "l": 0.46274,
    "c": 0.17336,
    "h": 337
  },
  "luminance": 0.08503
}

Semantic roles & 50–950 ramp

primary
#90227B
secondary
#53BB67
accent
#E56243
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#12070F
muted
#817A7E

Preview Lab

Preview with #90227B

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

Preview Lab → · Contrast checker → · Palette generator →

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