#9A2F75#9A2F75

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

Color values

HEX#9A2F75
RGBrgb(154, 47, 117)
HSLhsl(321, 53%, 39%)
HSVhsv(321, 69%, 60%)
CMYKcmyk(0%, 69.5%, 24%, 39.6%)
CIE-LABlab(38.18, 51.21, -16.08)
CIE-LCHlch(38.18, 53.68, 342.56°)
OKLaboklab(48.82% 0.1544 -0.0428)
OKLCHoklch(48.82% 0.16 344.5)
XYZxyz(17.5545, 10.1892, 17.8684)
Luminance0.1019 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2F75 #2F9A54
analogous
#8A2F9A #9A2F75 #9A2F3F
triadic
#9A2F75 #759A2F #2F759A
tetradic
#9A2F75 #9A8A2F #2F9A54 #2F3F9A
square
#9A2F75 #9A8A2F #2F9A54 #2F3F9A
split-complementary
#9A2F75 #3F9A2F #2F9A8A
monochromatic
#3C122E #6B2151 #9A2F75 #C54197 #D370B1

Accessibility & contrast

On white

6.91
#9A2F75 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9A2F75
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2F75#FFFFFF#000000##FFFFFF
##9A2F751.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9a2f75;
/* rgb */ color: rgb(154, 47, 117);
/* oklch */ color: oklch(48.8% 0.160 344.5);
Tailwind
colors: {
  custom: {
    50: '#bb709d',
    500: '#9a2f75',
    950: '#000000',
  },
}
SCSS
$custom: #9a2f75;
$custom-light: #bb709d;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2f75",
  "rgb": {
    "r": 154,
    "g": 47,
    "b": 117
  },
  "hsl": {
    "h": 320.748,
    "s": 53.234,
    "l": 39.412
  },
  "oklch": {
    "l": 0.48821,
    "c": 0.16023,
    "h": 344.5
  },
  "luminance": 0.10187
}

Semantic roles & 50–950 ramp

primary
#9A2F75
secondary
#6ABB86
accent
#DD7D4B
background
#FBF7F9
surface
#F7EDF2
border
#D0C8CC
text
#12080E
muted
#817B7E

Preview Lab

Preview with #9A2F75

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

Preview Lab → · Contrast checker → · Palette generator →

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