#9A2247#9A2247

#9A2247 is a mid, vivid pink. Relative luminance 0.085; OKLCH L 45.9% C 0.156 H 8.0°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#9A2247
RGBrgb(154, 34, 71)
HSLhsl(342, 64%, 37%)
HSVhsv(342, 78%, 60%)
CMYKcmyk(0%, 77.9%, 53.9%, 39.6%)
CIE-LABlab(34.95, 50.83, 8.47)
CIE-LCHlch(34.95, 51.53, 9.46°)
OKLaboklab(45.93% 0.1548 0.0217)
OKLCHoklch(45.93% 0.156 8)
XYZxyz(15.0372, 8.4711, 6.8033)
Luminance0.0847 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2247 #229A75
analogous
#9A2283 #9A2247 #9A3922
triadic
#9A2247 #479A22 #22479A
tetradic
#9A2247 #839A22 #229A75 #39229A
square
#9A2247 #839A22 #229A75 #39229A
split-complementary
#9A2247 #229A39 #22839A
monochromatic
#360C19 #681730 #9A2247 #CC2D5E #DB5B83

Accessibility & contrast

On white

7.80
#9A2247 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#9A2247 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A2247
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2247#FFFFFF#000000##FFFFFF
##9A22471.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414348
Deuteranopia (green-blind)
#605B44
Tritanopia (blue-blind)
#A80032
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9a2247;
/* rgb */ color: rgb(154, 34, 71);
/* oklch */ color: oklch(45.9% 0.156 8.0);
Tailwind
colors: {
  custom: {
    50: '#be6979',
    500: '#9a2247',
    950: '#000000',
  },
}
SCSS
$custom: #9a2247;
$custom-light: #be6979;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2247",
  "rgb": {
    "r": 154,
    "g": 34,
    "b": 71
  },
  "hsl": {
    "h": 341.5,
    "s": 63.83,
    "l": 36.863
  },
  "oklch": {
    "l": 0.45935,
    "c": 0.15631,
    "h": 8
  },
  "luminance": 0.08469
}

Semantic roles & 50–950 ramp

primary
#9A2247
secondary
#58BFA0
accent
#E7B441
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130709
muted
#827A7B

Preview Lab

Preview with #9A2247

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

Preview Lab → · Contrast checker → · Palette generator →

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