#9A2686#9A2686

#9A2686 is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.8% C 0.183 H 336.0°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#9A2686
RGBrgb(154, 38, 134)
HSLhsl(310, 60%, 38%)
HSVhsv(310, 75%, 60%)
CMYKcmyk(0%, 75.3%, 13%, 39.6%)
CIE-LABlab(37.80, 56.92, -27.22)
CIE-LCHlch(37.80, 63.09, 334.44°)
OKLaboklab(48.8% 0.1669 -0.0742)
OKLCHoklch(48.8% 0.183 336)
XYZxyz(18.3229, 9.9791, 23.5108)
Luminance0.0998 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2686 #269A3A
analogous
#74269A #9A2686 #9A264C
triadic
#9A2686 #869A26 #26869A
tetradic
#9A2686 #9A7426 #269A3A #264C9A
square
#9A2686 #9A7426 #269A3A #264C9A
split-complementary
#9A2686 #4C9A26 #269A74
monochromatic
#380E31 #691A5B #9A2686 #CB32B1 #D862C4

Accessibility & contrast

On white

7.01
#9A2686 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#9A2686 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2686
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2686#FFFFFF#000000##FFFFFF
##9A26861.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284E89
Deuteranopia (green-blind)
#505F83
Tritanopia (blue-blind)
#A22F53
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9a2686;
/* rgb */ color: rgb(154, 38, 134);
/* oklch */ color: oklch(48.8% 0.183 336.0);
Tailwind
colors: {
  custom: {
    50: '#bb6da9',
    500: '#9a2686',
    950: '#000000',
  },
}
SCSS
$custom: #9a2686;
$custom-light: #bb6da9;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2686",
  "rgb": {
    "r": 154,
    "g": 38,
    "b": 134
  },
  "hsl": {
    "h": 310.345,
    "s": 60.417,
    "l": 37.647
  },
  "oklch": {
    "l": 0.48803,
    "c": 0.18268,
    "h": 336
  },
  "luminance": 0.09977
}

Semantic roles & 50–950 ramp

primary
#9A2686
secondary
#5EBE6F
accent
#E46044
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #9A2686

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

Preview Lab → · Contrast checker → · Palette generator →

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