#9A2147#9A2147

#9A2147 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.9% C 0.157 H 7.8°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#9A2147
RGBrgb(154, 33, 71)
HSLhsl(341, 65%, 37%)
HSVhsv(341, 79%, 60%)
CMYKcmyk(0%, 78.6%, 53.9%, 39.6%)
CIE-LABlab(34.83, 51.15, 8.32)
CIE-LCHlch(34.83, 51.82, 9.23°)
OKLaboklab(45.85% 0.1558 0.0214)
OKLCHoklch(45.85% 0.157 7.8)
XYZxyz(15.0090, 8.4148, 6.7939)
Luminance0.0841 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2147 #219A74
analogous
#9A2184 #9A2147 #9A3821
triadic
#9A2147 #479A21 #21479A
tetradic
#9A2147 #849A21 #219A74 #38219A
square
#9A2147 #849A21 #219A74 #38219A
split-complementary
#9A2147 #219A38 #21849A
monochromatic
#350B19 #681630 #9A2147 #CC2C5E #DC5A83

Accessibility & contrast

On white

7.83
#9A2147 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#9A2147 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A2147
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2147#FFFFFF#000000##FFFFFF
##9A21471.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9a2147;
/* rgb */ color: rgb(154, 33, 71);
/* oklch */ color: oklch(45.9% 0.157 7.8);
Tailwind
colors: {
  custom: {
    50: '#be6979',
    500: '#9a2147',
    950: '#000000',
  },
}
SCSS
$custom: #9a2147;
$custom-light: #be6979;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2147",
  "rgb": {
    "r": 154,
    "g": 33,
    "b": 71
  },
  "hsl": {
    "h": 341.157,
    "s": 64.706,
    "l": 36.667
  },
  "oklch": {
    "l": 0.45852,
    "c": 0.15728,
    "h": 7.8
  },
  "luminance": 0.08413
}

Semantic roles & 50–950 ramp

primary
#9A2147
secondary
#57C09F
accent
#E8B340
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130709
muted
#827A7B

Preview Lab

Preview with #9A2147

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

Preview Lab → · Contrast checker → · Palette generator →

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