#9A2E85#9A2E85

#9A2E85 is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.5% C 0.172 H 336.7°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#9A2E85
RGBrgb(154, 46, 133)
HSLhsl(312, 54%, 39%)
HSVhsv(312, 70%, 60%)
CMYKcmyk(0%, 70.1%, 13.6%, 39.6%)
CIE-LABlab(38.76, 53.93, -25.11)
CIE-LCHlch(38.76, 59.49, 335.03°)
OKLaboklab(49.48% 0.1584 -0.0683)
OKLCHoklch(49.48% 0.172 336.7)
XYZxyz(18.5374, 10.5191, 23.2398)
Luminance0.1052 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2E85 #2E9A43
analogous
#792E9A #9A2E85 #9A2E4F
triadic
#9A2E85 #859A2E #2E859A
tetradic
#9A2E85 #9A792E #2E9A43 #2E4F9A
square
#9A2E85 #9A792E #2E9A43 #2E4F9A
split-complementary
#9A2E85 #4F9A2E #2E9A79
monochromatic
#3C1234 #6B205C #9A2E85 #C63FAC #D46FC0

Accessibility & contrast

On white

6.77
#9A2E85 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#9A2E85 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2E85
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2E85#FFFFFF#000000##FFFFFF
##9A2E851.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305187
Deuteranopia (green-blind)
#546182
Tritanopia (blue-blind)
#A23455
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9a2e85;
/* rgb */ color: rgb(154, 46, 133);
/* oklch */ color: oklch(49.5% 0.172 336.7);
Tailwind
colors: {
  custom: {
    50: '#bb70a9',
    500: '#9a2e85',
    950: '#000000',
  },
}
SCSS
$custom: #9a2e85;
$custom-light: #bb70a9;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2e85",
  "rgb": {
    "r": 154,
    "g": 46,
    "b": 133
  },
  "hsl": {
    "h": 311.667,
    "s": 54,
    "l": 39.216
  },
  "oklch": {
    "l": 0.49476,
    "c": 0.17247,
    "h": 336.7
  },
  "luminance": 0.10517
}

Semantic roles & 50–950 ramp

primary
#9A2E85
secondary
#69BB79
accent
#DD674A
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#12080F
muted
#817B7F

Preview Lab

Preview with #9A2E85

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

Preview Lab → · Contrast checker → · Palette generator →

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