#9A286B#9A286B

#9A286B is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.7% C 0.163 H 349.0°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#9A286B
RGBrgb(154, 40, 107)
HSLhsl(325, 59%, 38%)
HSVhsv(325, 74%, 60%)
CMYKcmyk(0%, 74%, 30.5%, 39.6%)
CIE-LABlab(36.84, 52.52, -11.85)
CIE-LCHlch(36.84, 53.84, 347.29°)
OKLaboklab(47.71% 0.1602 -0.031)
OKLCHoklch(47.71% 0.163 349)
XYZxyz(16.7399, 9.4510, 14.8497)
Luminance0.0945 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A286B #289A57
analogous
#90289A #9A286B #9A2832
triadic
#9A286B #6B9A28 #286B9A
tetradic
#9A286B #9A9028 #289A57 #28329A
square
#9A286B #9A9028 #289A57 #28329A
split-complementary
#9A286B #329A28 #289A90
monochromatic
#390F27 #691B49 #9A286B #CA358D #D765A8

Accessibility & contrast

On white

7.27
#9A286B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9A286B
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A286B#FFFFFF#000000##FFFFFF
##9A286B1.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394A6D
Deuteranopia (green-blind)
#5B5E68
Tritanopia (blue-blind)
#A52246
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9a286b;
/* rgb */ color: rgb(154, 40, 107);
/* oklch */ color: oklch(47.7% 0.163 349.0);
Tailwind
colors: {
  custom: {
    50: '#bc6d95',
    500: '#9a286b',
    950: '#000000',
  },
}
SCSS
$custom: #9a286b;
$custom-light: #bc6d95;
$custom-dark: #000000;
JSON
{
  "hex": "#9a286b",
  "rgb": {
    "r": 154,
    "g": 40,
    "b": 107
  },
  "hsl": {
    "h": 324.737,
    "s": 58.763,
    "l": 38.039
  },
  "oklch": {
    "l": 0.47708,
    "c": 0.16314,
    "h": 349
  },
  "luminance": 0.09449
}

Semantic roles & 50–950 ramp

primary
#9A286B
secondary
#61BD87
accent
#E28646
background
#FCF6F9
surface
#F8ECF1
border
#D1C7CB
text
#12080D
muted
#817B7E

Preview Lab

Preview with #9A286B

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

Preview Lab → · Contrast checker → · Palette generator →

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