#9A2E7D#9A2E7D

#9A2E7D is a mid, vivid pink. Relative luminance 0.103; OKLCH L 49.1% C 0.167 H 340.4°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#9A2E7D
RGBrgb(154, 46, 125)
HSLhsl(316, 54%, 39%)
HSVhsv(316, 70%, 60%)
CMYKcmyk(0%, 70.1%, 18.8%, 39.6%)
CIE-LABlab(38.39, 52.74, -20.75)
CIE-LCHlch(38.39, 56.67, 338.53°)
OKLaboklab(49.09% 0.1572 -0.0559)
OKLCHoklch(49.09% 0.167 340.4)
XYZxyz(18.0056, 10.3064, 20.4391)
Luminance0.1031 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2E7D #2E9A4B
analogous
#812E9A #9A2E7D #9A2E47
triadic
#9A2E7D #7D9A2E #2E7D9A
tetradic
#9A2E7D #9A812E #2E9A4B #2E479A
square
#9A2E7D #9A812E #2E9A4B #2E479A
split-complementary
#9A2E7D #479A2E #2E9A81
monochromatic
#3C1231 #6B2057 #9A2E7D #C63FA2 #D46FB9

Accessibility & contrast

On white

6.86
#9A2E7D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#9A2E7D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2E7D
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2E7D#FFFFFF#000000##FFFFFF
##9A2E7D1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354F7F
Deuteranopia (green-blind)
#57617A
Tritanopia (blue-blind)
#A33151
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9a2e7d;
/* rgb */ color: rgb(154, 46, 125);
/* oklch */ color: oklch(49.1% 0.167 340.4);
Tailwind
colors: {
  custom: {
    50: '#bb70a3',
    500: '#9a2e7d',
    950: '#000000',
  },
}
SCSS
$custom: #9a2e7d;
$custom-light: #bb70a3;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2e7d",
  "rgb": {
    "r": 154,
    "g": 46,
    "b": 125
  },
  "hsl": {
    "h": 316.111,
    "s": 54,
    "l": 39.216
  },
  "oklch": {
    "l": 0.49085,
    "c": 0.1668,
    "h": 340.4
  },
  "luminance": 0.10305
}

Semantic roles & 50–950 ramp

primary
#9A2E7D
secondary
#69BB7F
accent
#DD724A
background
#FBF7FA
surface
#F7EDF3
border
#D0C8CD
text
#12080F
muted
#817B7F

Preview Lab

Preview with #9A2E7D

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

Preview Lab → · Contrast checker → · Palette generator →

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