#9A2E77#9A2E77

#9A2E77 is a mid, vivid pink. Relative luminance 0.102; OKLCH L 48.8% C 0.163 H 343.4°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#9A2E77
RGBrgb(154, 46, 119)
HSLhsl(319, 54%, 39%)
HSVhsv(319, 70%, 60%)
CMYKcmyk(0%, 70.1%, 22.7%, 39.6%)
CIE-LABlab(38.12, 51.88, -17.42)
CIE-LCHlch(38.12, 54.72, 341.44°)
OKLaboklab(48.81% 0.156 -0.0465)
OKLCHoklch(48.81% 0.163 343.4)
XYZxyz(17.6338, 10.1577, 18.4811)
Luminance0.1016 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2E77 #2E9A51
analogous
#872E9A #9A2E77 #9A2E41
triadic
#9A2E77 #779A2E #2E779A
tetradic
#9A2E77 #9A872E #2E9A51 #2E419A
square
#9A2E77 #9A872E #2E9A51 #2E419A
split-complementary
#9A2E77 #419A2E #2E9A87
monochromatic
#3C122E #6B2053 #9A2E77 #C63F9A #D46FB3

Accessibility & contrast

On white

6.93
#9A2E77 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#9A2E77 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2E77
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2E77#FFFFFF#000000##FFFFFF
##9A2E771.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384E79
Deuteranopia (green-blind)
#596074
Tritanopia (blue-blind)
#A42E4E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9a2e77;
/* rgb */ color: rgb(154, 46, 119);
/* oklch */ color: oklch(48.8% 0.163 343.4);
Tailwind
colors: {
  custom: {
    50: '#bb709e',
    500: '#9a2e77',
    950: '#000000',
  },
}
SCSS
$custom: #9a2e77;
$custom-light: #bb709e;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2e77",
  "rgb": {
    "r": 154,
    "g": 46,
    "b": 119
  },
  "hsl": {
    "h": 319.444,
    "s": 54,
    "l": 39.216
  },
  "oklch": {
    "l": 0.48807,
    "c": 0.16281,
    "h": 343.4
  },
  "luminance": 0.10156
}

Semantic roles & 50–950 ramp

primary
#9A2E77
secondary
#69BB83
accent
#DD7A4A
background
#FBF7F9
surface
#F7EDF2
border
#D0C8CC
text
#12080E
muted
#817B7E

Preview Lab

Preview with #9A2E77

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

Preview Lab → · Contrast checker → · Palette generator →

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