#9A287C#9A287C

#9A287C is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.5% C 0.174 H 340.6°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#9A287C
RGBrgb(154, 40, 124)
HSLhsl(316, 59%, 38%)
HSVhsv(316, 74%, 60%)
CMYKcmyk(0%, 74%, 19.5%, 39.6%)
CIE-LABlab(37.56, 54.78, -21.40)
CIE-LCHlch(37.56, 58.82, 338.66°)
OKLaboklab(48.47% 0.1636 -0.0577)
OKLCHoklch(48.47% 0.174 340.6)
XYZxyz(17.7238, 9.8446, 20.0316)
Luminance0.0984 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A287C #289A46
analogous
#7F289A #9A287C #9A2843
triadic
#9A287C #7C9A28 #287C9A
tetradic
#9A287C #9A7F28 #289A46 #28439A
square
#9A287C #9A7F28 #289A46 #28439A
split-complementary
#9A287C #439A28 #289A7F
monochromatic
#390F2E #691B55 #9A287C #CA35A3 #D765B9

Accessibility & contrast

On white

7.07
#9A287C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#9A287C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A287C
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A287C#FFFFFF#000000##FFFFFF
##9A287C1.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314D7E
Deuteranopia (green-blind)
#555F79
Tritanopia (blue-blind)
#A32B4F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9a287c;
/* rgb */ color: rgb(154, 40, 124);
/* oklch */ color: oklch(48.5% 0.174 340.6);
Tailwind
colors: {
  custom: {
    50: '#bb6da2',
    500: '#9a287c',
    950: '#000000',
  },
}
SCSS
$custom: #9a287c;
$custom-light: #bb6da2;
$custom-dark: #000000;
JSON
{
  "hex": "#9a287c",
  "rgb": {
    "r": 154,
    "g": 40,
    "b": 124
  },
  "hsl": {
    "h": 315.789,
    "s": 58.763,
    "l": 38.039
  },
  "oklch": {
    "l": 0.48471,
    "c": 0.17351,
    "h": 340.6
  },
  "luminance": 0.09843
}

Semantic roles & 50–950 ramp

primary
#9A287C
secondary
#61BD79
accent
#E26F46
background
#FBF6FA
surface
#F7ECF3
border
#D0C7CD
text
#12080F
muted
#817B7F

Preview Lab

Preview with #9A287C

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

Preview Lab → · Contrast checker → · Palette generator →

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