#9A2272#9A2272

#9A2272 is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.5% C 0.174 H 345.0°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#9A2272
RGBrgb(154, 34, 114)
HSLhsl(320, 64%, 37%)
HSVhsv(320, 78%, 60%)
CMYKcmyk(0%, 77.9%, 26%, 39.6%)
CIE-LABlab(36.42, 55.39, -16.90)
CIE-LCHlch(36.42, 57.91, 343.04°)
OKLaboklab(47.5% 0.1679 -0.045)
OKLCHoklch(47.5% 0.174 345)
XYZxyz(16.9364, 9.2308, 16.8061)
Luminance0.0923 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2272 #229A4A
analogous
#86229A #9A2272 #9A2236
triadic
#9A2272 #729A22 #22729A
tetradic
#9A2272 #9A8622 #229A4A #22369A
square
#9A2272 #9A8622 #229A4A #22369A
split-complementary
#9A2272 #369A22 #229A86
monochromatic
#360C28 #68174D #9A2272 #CC2D97 #DB5BB0

Accessibility & contrast

On white

7.38
#9A2272 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#9A2272 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A2272
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2272#FFFFFF#000000##FFFFFF
##9A22721.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324974
Deuteranopia (green-blind)
#565D6F
Tritanopia (blue-blind)
#A52047
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9a2272;
/* rgb */ color: rgb(154, 34, 114);
/* oklch */ color: oklch(47.5% 0.174 345.0);
Tailwind
colors: {
  custom: {
    50: '#bc6a9a',
    500: '#9a2272',
    950: '#000000',
  },
}
SCSS
$custom: #9a2272;
$custom-light: #bc6a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2272",
  "rgb": {
    "r": 154,
    "g": 34,
    "b": 114
  },
  "hsl": {
    "h": 320,
    "s": 63.83,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47501,
    "c": 0.17383,
    "h": 345
  },
  "luminance": 0.09229
}

Semantic roles & 50–950 ramp

primary
#9A2272
secondary
#58BF7B
accent
#E77841
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #9A2272

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

Preview Lab → · Contrast checker → · Palette generator →

#9A2272 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva