#9A215B#9A215B

#9A215B is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.5% C 0.163 H 356.8°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#9A215B
RGBrgb(154, 33, 91)
HSLhsl(331, 65%, 37%)
HSVhsv(331, 79%, 60%)
CMYKcmyk(0%, 78.6%, 40.9%, 39.6%)
CIE-LABlab(35.43, 53.01, -3.76)
CIE-LCHlch(35.43, 53.14, 355.94°)
OKLaboklab(46.49% 0.163 -0.0092)
OKLCHoklch(46.49% 0.163 356.8)
XYZxyz(15.7597, 8.7151, 10.7478)
Luminance0.0871 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A215B #219A60
analogous
#9A2198 #9A215B #9A2421
triadic
#9A215B #5B9A21 #215B9A
tetradic
#9A215B #989A21 #219A60 #24219A
square
#9A215B #989A21 #219A60 #24219A
split-complementary
#9A215B #219A24 #21989A
monochromatic
#350B1F #68163D #9A215B #CC2C79 #DC5A98

Accessibility & contrast

On white

7.66
#9A215B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#9A215B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A215B
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A215B#FFFFFF#000000##FFFFFF
##9A215B1.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B455C
Deuteranopia (green-blind)
#5C5B58
Tritanopia (blue-blind)
#A70E3B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9a215b;
/* rgb */ color: rgb(154, 33, 91);
/* oklch */ color: oklch(46.5% 0.163 356.8);
Tailwind
colors: {
  custom: {
    50: '#bd6989',
    500: '#9a215b',
    950: '#000000',
  },
}
SCSS
$custom: #9a215b;
$custom-light: #bd6989;
$custom-dark: #000000;
JSON
{
  "hex": "#9a215b",
  "rgb": {
    "r": 154,
    "g": 33,
    "b": 91
  },
  "hsl": {
    "h": 331.24,
    "s": 64.706,
    "l": 36.667
  },
  "oklch": {
    "l": 0.46486,
    "c": 0.16322,
    "h": 356.8
  },
  "luminance": 0.08713
}

Semantic roles & 50–950 ramp

primary
#9A215B
secondary
#57C08E
accent
#E89740
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9A215B

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

Preview Lab → · Contrast checker → · Palette generator →

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