#9A2371#9A2371

#9A2371 is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.5% C 0.172 H 345.6°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#9A2371
RGBrgb(154, 35, 113)
HSLhsl(321, 63%, 37%)
HSVhsv(321, 77%, 60%)
CMYKcmyk(0%, 77.3%, 26.6%, 39.6%)
CIE-LABlab(36.49, 54.95, -16.16)
CIE-LCHlch(36.49, 57.28, 343.61°)
OKLaboklab(47.54% 0.1667 -0.0429)
OKLCHoklch(47.54% 0.172 345.6)
XYZxyz(16.9088, 9.2662, 16.5177)
Luminance0.0926 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2371 #239A4C
analogous
#88239A #9A2371 #9A2336
triadic
#9A2371 #719A23 #23719A
tetradic
#9A2371 #9A8823 #239A4C #23369A
square
#9A2371 #9A8823 #239A4C #23369A
split-complementary
#9A2371 #369A23 #239A88
monochromatic
#360C28 #68184C #9A2371 #CC2E96 #DA5DAF

Accessibility & contrast

On white

7.36
#9A2371 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9A2371
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2371#FFFFFF#000000##FFFFFF
##9A23711.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334973
Deuteranopia (green-blind)
#575D6E
Tritanopia (blue-blind)
#A52047
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9a2371;
/* rgb */ color: rgb(154, 35, 113);
/* oklch */ color: oklch(47.5% 0.172 345.6);
Tailwind
colors: {
  custom: {
    50: '#bc6b9a',
    500: '#9a2371',
    950: '#000000',
  },
}
SCSS
$custom: #9a2371;
$custom-light: #bc6b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2371",
  "rgb": {
    "r": 154,
    "g": 35,
    "b": 113
  },
  "hsl": {
    "h": 320.672,
    "s": 62.963,
    "l": 37.059
  },
  "oklch": {
    "l": 0.47535,
    "c": 0.17218,
    "h": 345.6
  },
  "luminance": 0.09264
}

Semantic roles & 50–950 ramp

primary
#9A2371
secondary
#5ABF7D
accent
#E67A42
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #9A2371

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

Preview Lab → · Contrast checker → · Palette generator →

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