#9A276B#9A276B

#9A276B is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.6% C 0.164 H 348.9°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#9A276B
RGBrgb(154, 39, 107)
HSLhsl(325, 60%, 38%)
HSVhsv(325, 75%, 60%)
CMYKcmyk(0%, 74.7%, 30.5%, 39.6%)
CIE-LABlab(36.71, 52.87, -12.04)
CIE-LCHlch(36.71, 54.22, 347.18°)
OKLaboklab(47.62% 0.1613 -0.0315)
OKLCHoklch(47.62% 0.164 348.9)
XYZxyz(16.7066, 9.3845, 14.8386)
Luminance0.0938 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A276B #279A56
analogous
#8F279A #9A276B #9A2731
triadic
#9A276B #6B9A27 #276B9A
tetradic
#9A276B #9A8F27 #279A56 #27319A
square
#9A276B #9A8F27 #279A56 #27319A
split-complementary
#9A276B #319A27 #279A8F
monochromatic
#380E27 #691B49 #9A276B #CB338D #D864A8

Accessibility & contrast

On white

7.30
#9A276B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#9A276B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A276B
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A276B#FFFFFF#000000##FFFFFF
##9A276B1.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39496D
Deuteranopia (green-blind)
#5A5E68
Tritanopia (blue-blind)
#A52145
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9a276b;
/* rgb */ color: rgb(154, 39, 107);
/* oklch */ color: oklch(47.6% 0.164 348.9);
Tailwind
colors: {
  custom: {
    50: '#bc6c95',
    500: '#9a276b',
    950: '#000000',
  },
}
SCSS
$custom: #9a276b;
$custom-light: #bc6c95;
$custom-dark: #000000;
JSON
{
  "hex": "#9a276b",
  "rgb": {
    "r": 154,
    "g": 39,
    "b": 107
  },
  "hsl": {
    "h": 324.522,
    "s": 59.585,
    "l": 37.843
  },
  "oklch": {
    "l": 0.47617,
    "c": 0.16431,
    "h": 348.9
  },
  "luminance": 0.09383
}

Semantic roles & 50–950 ramp

primary
#9A276B
secondary
#5FBD86
accent
#E38645
background
#FCF6F9
surface
#F8ECF1
border
#D1C7CB
text
#12080D
muted
#817B7E

Preview Lab

Preview with #9A276B

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

Preview Lab → · Contrast checker → · Palette generator →

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