#9A2276#9A2276

#9A2276 is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.7% C 0.176 H 343.1°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#9A2276
RGBrgb(154, 34, 118)
HSLhsl(318, 64%, 37%)
HSVhsv(318, 78%, 60%)
CMYKcmyk(0%, 77.9%, 23.4%, 39.6%)
CIE-LABlab(36.60, 55.92, -19.14)
CIE-LCHlch(36.60, 59.10, 341.11°)
OKLaboklab(47.69% 0.1686 -0.0513)
OKLCHoklch(47.69% 0.176 343.1)
XYZxyz(17.1691, 9.3239, 18.0315)
Luminance0.0932 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2276 #229A46
analogous
#82229A #9A2276 #9A223A
triadic
#9A2276 #769A22 #22769A
tetradic
#9A2276 #9A8222 #229A46 #223A9A
square
#9A2276 #9A8222 #229A46 #223A9A
split-complementary
#9A2276 #3A9A22 #229A82
monochromatic
#360C29 #681750 #9A2276 #CC2D9C #DB5BB5

Accessibility & contrast

On white

7.33
#9A2276 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#9A2276 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A2276
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2276#FFFFFF#000000##FFFFFF
##9A22761.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4A78
Deuteranopia (green-blind)
#555D73
Tritanopia (blue-blind)
#A4224A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9a2276;
/* rgb */ color: rgb(154, 34, 118);
/* oklch */ color: oklch(47.7% 0.176 343.1);
Tailwind
colors: {
  custom: {
    50: '#bc6b9d',
    500: '#9a2276',
    950: '#000000',
  },
}
SCSS
$custom: #9a2276;
$custom-light: #bc6b9d;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2276",
  "rgb": {
    "r": 154,
    "g": 34,
    "b": 118
  },
  "hsl": {
    "h": 318,
    "s": 63.83,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47686,
    "c": 0.17626,
    "h": 343.1
  },
  "luminance": 0.09322
}

Semantic roles & 50–950 ramp

primary
#9A2276
secondary
#58BF77
accent
#E77341
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #9A2276

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

Preview Lab → · Contrast checker → · Palette generator →

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