#91227E#91227E

#91227E is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.6% C 0.176 H 336.0°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#91227E
RGBrgb(145, 34, 126)
HSLhsl(310, 62%, 35%)
HSVhsv(310, 77%, 57%)
CMYKcmyk(0%, 76.6%, 13.1%, 43.1%)
CIE-LABlab(35.34, 54.85, -26.23)
CIE-LCHlch(35.34, 60.80, 334.45°)
OKLaboklab(46.6% 0.1609 -0.0715)
OKLCHoklch(46.6% 0.176 336)
XYZxyz(16.0152, 8.6716, 20.5649)
Luminance0.0867 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#91227E #229135
analogous
#6C2291 #91227E #912247
triadic
#91227E #7E9122 #227E91
tetradic
#91227E #916C22 #229135 #224791
square
#91227E #916C22 #229135 #224791
split-complementary
#91227E #479122 #22916C
monochromatic
#2E0B28 #5F1653 #91227E #C32EA9 #D756C1

Accessibility & contrast

On white

7.68
#91227E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#91227E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #91227E
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##91227E#FFFFFF#000000##FFFFFF
##91227E1.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234880
Deuteranopia (green-blind)
#4B597B
Tritanopia (blue-blind)
#992A4E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #91227e;
/* rgb */ color: rgb(145, 34, 126);
/* oklch */ color: oklch(46.6% 0.176 336.0);
Tailwind
colors: {
  custom: {
    50: '#b56aa3',
    500: '#91227e',
    950: '#000000',
  },
}
SCSS
$custom: #91227e;
$custom-light: #b56aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#91227e",
  "rgb": {
    "r": 145,
    "g": 34,
    "b": 126
  },
  "hsl": {
    "h": 310.27,
    "s": 62.011,
    "l": 35.098
  },
  "oklch": {
    "l": 0.46596,
    "c": 0.17609,
    "h": 336
  },
  "luminance": 0.0867
}

Semantic roles & 50–950 ramp

primary
#91227E
secondary
#53BB65
accent
#E55F43
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #91227E

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

Preview Lab → · Contrast checker → · Palette generator →

#91227E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva