#9B2F74#9B2F74

#9B2F74 is a mid, vivid pink. Relative luminance 0.103; OKLCH L 48.9% C 0.160 H 345.4°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#9B2F74
RGBrgb(155, 47, 116)
HSLhsl(322, 53%, 40%)
HSVhsv(322, 70%, 61%)
CMYKcmyk(0%, 69.7%, 25.2%, 39.2%)
CIE-LABlab(38.31, 51.35, -15.24)
CIE-LCHlch(38.31, 53.57, 343.47°)
OKLaboklab(48.94% 0.1552 -0.0404)
OKLCHoklch(48.94% 0.16 345.4)
XYZxyz(17.6872, 10.2644, 17.5694)
Luminance0.1026 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2F74 #2F9B56
analogous
#8C2F9B #9B2F74 #9B2F3E
triadic
#9B2F74 #749B2F #2F749B
tetradic
#9B2F74 #9B8C2F #2F9B56 #2F3E9B
square
#9B2F74 #9B8C2F #2F9B56 #2F3E9B
split-complementary
#9B2F74 #3E9B2F #2F9B8C
monochromatic
#3D132E #6C2151 #9B2F74 #C64296 #D471B0

Accessibility & contrast

On white

6.88
#9B2F74 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#9B2F74 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2F74
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2F74#FFFFFF#000000##FFFFFF
##9B2F741.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4F76
Deuteranopia (green-blind)
#5B6171
Tritanopia (blue-blind)
#A52D4D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9b2f74;
/* rgb */ color: rgb(155, 47, 116);
/* oklch */ color: oklch(48.9% 0.160 345.4);
Tailwind
colors: {
  custom: {
    50: '#bc709c',
    500: '#9b2f74',
    950: '#000000',
  },
}
SCSS
$custom: #9b2f74;
$custom-light: #bc709c;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2f74",
  "rgb": {
    "r": 155,
    "g": 47,
    "b": 116
  },
  "hsl": {
    "h": 321.667,
    "s": 53.465,
    "l": 39.608
  },
  "oklch": {
    "l": 0.48937,
    "c": 0.16036,
    "h": 345.4
  },
  "luminance": 0.10263
}

Semantic roles & 50–950 ramp

primary
#9B2F74
secondary
#6ABB88
accent
#DD804B
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#12080E
muted
#817B7E

Preview Lab

Preview with #9B2F74

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

Preview Lab → · Contrast checker → · Palette generator →

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