#9A286C#9A286C

#9A286C is a mid, vivid pink. Relative luminance 0.095; OKLCH L 47.7% C 0.164 H 348.5°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#9A286C
RGBrgb(154, 40, 108)
HSLhsl(324, 59%, 38%)
HSVhsv(324, 74%, 60%)
CMYKcmyk(0%, 74%, 29.9%, 39.6%)
CIE-LABlab(36.88, 52.64, -12.42)
CIE-LCHlch(36.88, 54.09, 346.73°)
OKLaboklab(47.75% 0.1604 -0.0326)
OKLCHoklch(47.75% 0.164 348.5)
XYZxyz(16.7928, 9.4722, 15.1284)
Luminance0.0947 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A286C #289A56
analogous
#8F289A #9A286C #9A2833
triadic
#9A286C #6C9A28 #286C9A
tetradic
#9A286C #9A8F28 #289A56 #28339A
square
#9A286C #9A8F28 #289A56 #28339A
split-complementary
#9A286C #339A28 #289A8F
monochromatic
#390F28 #691B4A #9A286C #CA358E #D765A9

Accessibility & contrast

On white

7.26
#9A286C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#9A286C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A286C
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A286C#FFFFFF#000000##FFFFFF
##9A286C1.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394A6E
Deuteranopia (green-blind)
#5A5E69
Tritanopia (blue-blind)
#A52346
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9a286c;
/* rgb */ color: rgb(154, 40, 108);
/* oklch */ color: oklch(47.7% 0.164 348.5);
Tailwind
colors: {
  custom: {
    50: '#bc6d96',
    500: '#9a286c',
    950: '#000000',
  },
}
SCSS
$custom: #9a286c;
$custom-light: #bc6d96;
$custom-dark: #000000;
JSON
{
  "hex": "#9a286c",
  "rgb": {
    "r": 154,
    "g": 40,
    "b": 108
  },
  "hsl": {
    "h": 324.211,
    "s": 58.763,
    "l": 38.039
  },
  "oklch": {
    "l": 0.47749,
    "c": 0.16369,
    "h": 348.5
  },
  "luminance": 0.0947
}

Semantic roles & 50–950 ramp

primary
#9A286C
secondary
#61BD86
accent
#E28546
background
#FCF6F9
surface
#F8ECF1
border
#D1C7CB
text
#12080D
muted
#817B7E

Preview Lab

Preview with #9A286C

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

Preview Lab → · Contrast checker → · Palette generator →

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