#99227F#99227F

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

Color values

HEX#99227F
RGBrgb(153, 34, 127)
HSLhsl(313, 64%, 37%)
HSVhsv(313, 78%, 60%)
CMYKcmyk(0%, 77.8%, 17%, 40%)
CIE-LABlab(36.84, 56.92, -24.41)
CIE-LCHlch(36.84, 61.93, 336.79°)
OKLaboklab(47.96% 0.169 -0.0662)
OKLCHoklch(47.96% 0.181 338.6)
XYZxyz(17.5401, 9.4504, 20.9749)
Luminance0.0945 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#99227F #22993C
analogous
#782299 #99227F #992244
triadic
#99227F #7F9922 #227F99
tetradic
#99227F #997822 #22993C #224499
square
#99227F #997822 #22993C #224499
split-complementary
#99227F #449922 #229978
monochromatic
#350C2C #671755 #99227F #CB2DA9 #DB5BBF

Accessibility & contrast

On white

7.27
#99227F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#99227F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #99227F
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##99227F#FFFFFF#000000##FFFFFF
##99227F1.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294B81
Deuteranopia (green-blind)
#515D7C
Tritanopia (blue-blind)
#A2284E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #99227f;
/* rgb */ color: rgb(153, 34, 127);
/* oklch */ color: oklch(48.0% 0.181 338.6);
Tailwind
colors: {
  custom: {
    50: '#bb6ba4',
    500: '#99227f',
    950: '#000000',
  },
}
SCSS
$custom: #99227f;
$custom-light: #bb6ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#99227f",
  "rgb": {
    "r": 153,
    "g": 34,
    "b": 127
  },
  "hsl": {
    "h": 313.109,
    "s": 63.636,
    "l": 36.667
  },
  "oklch": {
    "l": 0.47959,
    "c": 0.18148,
    "h": 338.6
  },
  "luminance": 0.09449
}

Semantic roles & 50–950 ramp

primary
#99227F
secondary
#58BF6E
accent
#E76541
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #99227F

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

Preview Lab → · Contrast checker → · Palette generator →

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