#9A2279#9A2279

#9A2279 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.8% C 0.178 H 341.7°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#9A2279
RGBrgb(154, 34, 121)
HSLhsl(317, 64%, 37%)
HSVhsv(317, 78%, 60%)
CMYKcmyk(0%, 77.9%, 21.4%, 39.6%)
CIE-LABlab(36.74, 56.32, -20.81)
CIE-LCHlch(36.74, 60.04, 339.72°)
OKLaboklab(47.83% 0.1691 -0.056)
OKLCHoklch(47.83% 0.178 341.7)
XYZxyz(17.3502, 9.3964, 18.9854)
Luminance0.0940 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2279 #229A43
analogous
#7F229A #9A2279 #9A223D
triadic
#9A2279 #799A22 #22799A
tetradic
#9A2279 #9A7F22 #229A43 #223D9A
square
#9A2279 #9A7F22 #229A43 #223D9A
split-complementary
#9A2279 #3D9A22 #229A7F
monochromatic
#360C2A #681752 #9A2279 #CC2DA0 #DB5BB8

Accessibility & contrast

On white

7.29
#9A2279 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9A2279
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2279#FFFFFF#000000##FFFFFF
##9A22791.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4A7B
Deuteranopia (green-blind)
#545D76
Tritanopia (blue-blind)
#A4244B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9a2279;
/* rgb */ color: rgb(154, 34, 121);
/* oklch */ color: oklch(47.8% 0.178 341.7);
Tailwind
colors: {
  custom: {
    50: '#bc6ba0',
    500: '#9a2279',
    950: '#000000',
  },
}
SCSS
$custom: #9a2279;
$custom-light: #bc6ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2279",
  "rgb": {
    "r": 154,
    "g": 34,
    "b": 121
  },
  "hsl": {
    "h": 316.5,
    "s": 63.83,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47828,
    "c": 0.17815,
    "h": 341.7
  },
  "luminance": 0.09395
}

Semantic roles & 50–950 ramp

primary
#9A2279
secondary
#58BF75
accent
#E76F41
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #9A2279

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

Preview Lab → · Contrast checker → · Palette generator →

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