#9A2F76#9A2F76

#9A2F76 is a mid, vivid pink. Relative luminance 0.102; OKLCH L 48.9% C 0.161 H 344.0°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#9A2F76
RGBrgb(154, 47, 118)
HSLhsl(320, 53%, 39%)
HSVhsv(320, 69%, 60%)
CMYKcmyk(0%, 69.5%, 23.4%, 39.6%)
CIE-LABlab(38.22, 51.35, -16.64)
CIE-LCHlch(38.22, 53.98, 342.04°)
OKLaboklab(48.86% 0.1546 -0.0444)
OKLCHoklch(48.86% 0.161 344)
XYZxyz(17.6136, 10.2128, 18.1797)
Luminance0.1021 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2F76 #2F9A53
analogous
#892F9A #9A2F76 #9A2F41
triadic
#9A2F76 #769A2F #2F769A
tetradic
#9A2F76 #9A892F #2F9A53 #2F419A
square
#9A2F76 #9A892F #2F9A53 #2F419A
split-complementary
#9A2F76 #419A2F #2F9A89
monochromatic
#3C122E #6B2152 #9A2F76 #C54199 #D370B2

Accessibility & contrast

On white

6.90
#9A2F76 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#9A2F76 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2F76
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2F76#FFFFFF#000000##FFFFFF
##9A2F761.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4F78
Deuteranopia (green-blind)
#5A6073
Tritanopia (blue-blind)
#A42E4E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9a2f76;
/* rgb */ color: rgb(154, 47, 118);
/* oklch */ color: oklch(48.9% 0.161 344.0);
Tailwind
colors: {
  custom: {
    50: '#bb709d',
    500: '#9a2f76',
    950: '#000000',
  },
}
SCSS
$custom: #9a2f76;
$custom-light: #bb709d;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2f76",
  "rgb": {
    "r": 154,
    "g": 47,
    "b": 118
  },
  "hsl": {
    "h": 320.187,
    "s": 53.234,
    "l": 39.412
  },
  "oklch": {
    "l": 0.48865,
    "c": 0.16085,
    "h": 344
  },
  "luminance": 0.10211
}

Semantic roles & 50–950 ramp

primary
#9A2F76
secondary
#6ABB85
accent
#DD7C4B
background
#FBF7F9
surface
#F7EDF2
border
#D0C8CC
text
#12080E
muted
#817B7E

Preview Lab

Preview with #9A2F76

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

Preview Lab → · Contrast checker → · Palette generator →

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