#9A2163#9A2163

#9A2163 is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.8% C 0.167 H 352.5°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#9A2163
RGBrgb(154, 33, 99)
HSLhsl(327, 65%, 37%)
HSVhsv(327, 79%, 60%)
CMYKcmyk(0%, 78.6%, 35.7%, 39.6%)
CIE-LABlab(35.71, 53.88, -8.46)
CIE-LCHlch(35.71, 54.54, 351.07°)
OKLaboklab(46.79% 0.1653 -0.0218)
OKLCHoklch(46.79% 0.167 352.5)
XYZxyz(16.1234, 8.8606, 12.6632)
Luminance0.0886 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2163 #219A58
analogous
#95219A #9A2163 #9A2126
triadic
#9A2163 #639A21 #21639A
tetradic
#9A2163 #9A9521 #219A58 #21269A
square
#9A2163 #9A9521 #219A58 #21269A
split-complementary
#9A2163 #269A21 #219A95
monochromatic
#350B22 #681643 #9A2163 #CC2C83 #DC5AA1

Accessibility & contrast

On white

7.58
#9A2163 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#9A2163 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A2163
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2163#FFFFFF#000000##FFFFFF
##9A21631.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384665
Deuteranopia (green-blind)
#5A5C60
Tritanopia (blue-blind)
#A6143F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9a2163;
/* rgb */ color: rgb(154, 33, 99);
/* oklch */ color: oklch(46.8% 0.167 352.5);
Tailwind
colors: {
  custom: {
    50: '#bc6a8f',
    500: '#9a2163',
    950: '#000000',
  },
}
SCSS
$custom: #9a2163;
$custom-light: #bc6a8f;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2163",
  "rgb": {
    "r": 154,
    "g": 33,
    "b": 99
  },
  "hsl": {
    "h": 327.273,
    "s": 64.706,
    "l": 36.667
  },
  "oklch": {
    "l": 0.46787,
    "c": 0.16676,
    "h": 352.5
  },
  "luminance": 0.08859
}

Semantic roles & 50–950 ramp

primary
#9A2163
secondary
#57C087
accent
#E88C40
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070C
muted
#827A7D

Preview Lab

Preview with #9A2163

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

Preview Lab → · Contrast checker → · Palette generator →

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