#9B2A74#9B2A74

#9B2A74 is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.4% C 0.167 H 345.0°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#9B2A74
RGBrgb(155, 42, 116)
HSLhsl(321, 57%, 39%)
HSVhsv(321, 73%, 61%)
CMYKcmyk(0%, 72.9%, 25.2%, 39.2%)
CIE-LABlab(37.64, 53.24, -16.27)
CIE-LCHlch(37.64, 55.67, 343.00°)
OKLaboklab(48.45% 0.161 -0.0433)
OKLCHoklch(48.45% 0.167 345)
XYZxyz(17.4986, 9.8873, 17.5065)
Luminance0.0988 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2A74 #2A9B51
analogous
#892A9B #9B2A74 #9B2A3B
triadic
#9B2A74 #749B2A #2A749B
tetradic
#9B2A74 #9B892A #2A9B51 #2A3B9B
square
#9B2A74 #9B892A #2A9B51 #2A3B9B
split-complementary
#9B2A74 #3B9B2A #2A9B89
monochromatic
#3B102C #6B1D50 #9B2A74 #C93997 #D669B1

Accessibility & contrast

On white

7.05
#9B2A74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#9B2A74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B2A74
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2A74#FFFFFF#000000##FFFFFF
##9B2A741.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374C76
Deuteranopia (green-blind)
#595F71
Tritanopia (blue-blind)
#A5284B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9b2a74;
/* rgb */ color: rgb(155, 42, 116);
/* oklch */ color: oklch(48.4% 0.167 345.0);
Tailwind
colors: {
  custom: {
    50: '#bc6e9c',
    500: '#9b2a74',
    950: '#000000',
  },
}
SCSS
$custom: #9b2a74;
$custom-light: #bc6e9c;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2a74",
  "rgb": {
    "r": 155,
    "g": 42,
    "b": 116
  },
  "hsl": {
    "h": 320.708,
    "s": 57.36,
    "l": 38.627
  },
  "oklch": {
    "l": 0.48446,
    "c": 0.1667,
    "h": 345
  },
  "luminance": 0.09885
}

Semantic roles & 50–950 ramp

primary
#9B2A74
secondary
#64BD83
accent
#E17C47
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#12080E
muted
#817B7E

Preview Lab

Preview with #9B2A74

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

Preview Lab → · Contrast checker → · Palette generator →

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