#99227E#99227E

#99227E is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.9% C 0.181 H 339.1°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#99227E
RGBrgb(153, 34, 126)
HSLhsl(314, 64%, 37%)
HSVhsv(314, 78%, 60%)
CMYKcmyk(0%, 77.8%, 17.6%, 40%)
CIE-LABlab(36.79, 56.78, -23.86)
CIE-LCHlch(36.79, 61.59, 337.20°)
OKLaboklab(47.91% 0.1689 -0.0646)
OKLCHoklch(47.91% 0.181 339.1)
XYZxyz(17.4752, 9.4244, 20.6334)
Luminance0.0942 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#99227E #22993D
analogous
#792299 #99227E #992243
triadic
#99227E #7E9922 #227E99
tetradic
#99227E #997922 #22993D #224399
square
#99227E #997922 #22993D #224399
split-complementary
#99227E #439922 #229979
monochromatic
#350C2C #671755 #99227E #CB2DA7 #DB5BBE

Accessibility & contrast

On white

7.28
#99227E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#99227E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #99227E
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##99227E#FFFFFF#000000##FFFFFF
##99227E1.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294B80
Deuteranopia (green-blind)
#515D7B
Tritanopia (blue-blind)
#A2274E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #99227e;
/* rgb */ color: rgb(153, 34, 126);
/* oklch */ color: oklch(47.9% 0.181 339.1);
Tailwind
colors: {
  custom: {
    50: '#bb6ba3',
    500: '#99227e',
    950: '#000000',
  },
}
SCSS
$custom: #99227e;
$custom-light: #bb6ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#99227e",
  "rgb": {
    "r": 153,
    "g": 34,
    "b": 126
  },
  "hsl": {
    "h": 313.613,
    "s": 63.636,
    "l": 36.667
  },
  "oklch": {
    "l": 0.47909,
    "c": 0.18081,
    "h": 339.1
  },
  "luminance": 0.09423
}

Semantic roles & 50–950 ramp

primary
#99227E
secondary
#58BF6F
accent
#E76741
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #99227E

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

Preview Lab → · Contrast checker → · Palette generator →

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