#9A2F73#9A2F73

#9A2F73 is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.7% C 0.159 H 345.5°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#9A2F73
RGBrgb(154, 47, 115)
HSLhsl(322, 53%, 39%)
HSVhsv(322, 69%, 60%)
CMYKcmyk(0%, 69.5%, 25.3%, 39.6%)
CIE-LABlab(38.10, 50.93, -14.96)
CIE-LCHlch(38.10, 53.09, 343.63°)
OKLaboklab(48.73% 0.1539 -0.0397)
OKLCHoklch(48.73% 0.159 345.5)
XYZxyz(17.4381, 10.1427, 17.2557)
Luminance0.1014 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2F73 #2F9A56
analogous
#8C2F9A #9A2F73 #9A2F3E
triadic
#9A2F73 #739A2F #2F739A
tetradic
#9A2F73 #9A8C2F #2F9A56 #2F3E9A
square
#9A2F73 #9A8C2F #2F9A56 #2F3E9A
split-complementary
#9A2F73 #3E9A2F #2F9A8C
monochromatic
#3C122D #6B2150 #9A2F73 #C54195 #D370AF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9A2F73#FFFFFF#000000##FFFFFF
##9A2F731.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)
#3B4E75
Deuteranopia (green-blind)
#5B6070
Tritanopia (blue-blind)
#A42D4D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9a2f73;
/* rgb */ color: rgb(154, 47, 115);
/* oklch */ color: oklch(48.7% 0.159 345.5);
Tailwind
colors: {
  custom: {
    50: '#bb709b',
    500: '#9a2f73',
    950: '#000000',
  },
}
SCSS
$custom: #9a2f73;
$custom-light: #bb709b;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2f73",
  "rgb": {
    "r": 154,
    "g": 47,
    "b": 115
  },
  "hsl": {
    "h": 321.869,
    "s": 53.234,
    "l": 39.412
  },
  "oklch": {
    "l": 0.48733,
    "c": 0.15897,
    "h": 345.5
  },
  "luminance": 0.10141
}

Semantic roles & 50–950 ramp

primary
#9A2F73
secondary
#6ABB87
accent
#DD804B
background
#FBF7F9
surface
#F7EDF2
border
#D0C8CC
text
#12080E
muted
#817B7E

Preview Lab

Preview with #9A2F73

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

Preview Lab → · Contrast checker → · Palette generator →

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