#9A287D#9A287D

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

Color values

HEX#9A287D
RGBrgb(154, 40, 125)
HSLhsl(315, 59%, 38%)
HSVhsv(315, 74%, 60%)
CMYKcmyk(0%, 74%, 18.8%, 39.6%)
CIE-LABlab(37.61, 54.93, -21.95)
CIE-LCHlch(37.61, 59.15, 338.22°)
OKLaboklab(48.52% 0.1638 -0.0592)
OKLCHoklch(48.52% 0.174 340.1)
XYZxyz(17.7874, 9.8700, 20.3664)
Luminance0.0987 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A287D #289A45
analogous
#7E289A #9A287D #9A2844
triadic
#9A287D #7D9A28 #287D9A
tetradic
#9A287D #9A7E28 #289A45 #28449A
square
#9A287D #9A7E28 #289A45 #28449A
split-complementary
#9A287D #449A28 #289A7E
monochromatic
#390F2E #691B56 #9A287D #CA35A4 #D765BA

Accessibility & contrast

On white

7.06
#9A287D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9A287D
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A287D#FFFFFF#000000##FFFFFF
##9A287D1.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304D7F
Deuteranopia (green-blind)
#555F7A
Tritanopia (blue-blind)
#A32C4F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9a287d;
/* rgb */ color: rgb(154, 40, 125);
/* oklch */ color: oklch(48.5% 0.174 340.1);
Tailwind
colors: {
  custom: {
    50: '#bb6da3',
    500: '#9a287d',
    950: '#000000',
  },
}
SCSS
$custom: #9a287d;
$custom-light: #bb6da3;
$custom-dark: #000000;
JSON
{
  "hex": "#9a287d",
  "rgb": {
    "r": 154,
    "g": 40,
    "b": 125
  },
  "hsl": {
    "h": 315.263,
    "s": 58.763,
    "l": 38.039
  },
  "oklch": {
    "l": 0.48519,
    "c": 0.17418,
    "h": 340.1
  },
  "luminance": 0.09868
}

Semantic roles & 50–950 ramp

primary
#9A287D
secondary
#61BD78
accent
#E26E46
background
#FBF6FA
surface
#F7ECF3
border
#D0C7CD
text
#12080F
muted
#817B7F

Preview Lab

Preview with #9A287D

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

Preview Lab → · Contrast checker → · Palette generator →

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