#9A215C#9A215C

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

Color values

HEX#9A215C
RGBrgb(154, 33, 92)
HSLhsl(331, 65%, 37%)
HSVhsv(331, 79%, 60%)
CMYKcmyk(0%, 78.6%, 40.3%, 39.6%)
CIE-LABlab(35.46, 53.11, -4.35)
CIE-LCHlch(35.46, 53.29, 355.32°)
OKLaboklab(46.52% 0.1633 -0.0108)
OKLCHoklch(46.52% 0.164 356.2)
XYZxyz(15.8032, 8.7325, 10.9765)
Luminance0.0873 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A215C #219A5F
analogous
#9A2199 #9A215C #9A2321
triadic
#9A215C #5C9A21 #215C9A
tetradic
#9A215C #999A21 #219A5F #23219A
square
#9A215C #999A21 #219A5F #23219A
split-complementary
#9A215C #219A23 #21999A
monochromatic
#350B20 #68163E #9A215C #CC2C7A #DC5A99

Accessibility & contrast

On white

7.65
#9A215C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#9A215C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A215C
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A215C#FFFFFF#000000##FFFFFF
##9A215C1.007.652.757.65
#FFFFFF7.651.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B455D
Deuteranopia (green-blind)
#5C5B59
Tritanopia (blue-blind)
#A70F3C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9a215c;
/* rgb */ color: rgb(154, 33, 92);
/* oklch */ color: oklch(46.5% 0.164 356.2);
Tailwind
colors: {
  custom: {
    50: '#bd698a',
    500: '#9a215c',
    950: '#000000',
  },
}
SCSS
$custom: #9a215c;
$custom-light: #bd698a;
$custom-dark: #000000;
JSON
{
  "hex": "#9a215c",
  "rgb": {
    "r": 154,
    "g": 33,
    "b": 92
  },
  "hsl": {
    "h": 330.744,
    "s": 64.706,
    "l": 36.667
  },
  "oklch": {
    "l": 0.46522,
    "c": 0.16364,
    "h": 356.2
  },
  "luminance": 0.0873
}

Semantic roles & 50–950 ramp

primary
#9A215C
secondary
#57C08D
accent
#E89640
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9A215C

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

Preview Lab → · Contrast checker → · Palette generator →

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