#9B2F76#9B2F76

#9B2F76 is a mid, vivid pink. Relative luminance 0.103; OKLCH L 49.0% C 0.162 H 344.4°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#9B2F76
RGBrgb(155, 47, 118)
HSLhsl(321, 53%, 40%)
HSVhsv(321, 70%, 61%)
CMYKcmyk(0%, 69.7%, 23.9%, 39.2%)
CIE-LABlab(38.40, 51.63, -16.36)
CIE-LCHlch(38.40, 54.16, 342.41°)
OKLaboklab(49.03% 0.1556 -0.0436)
OKLCHoklch(49.03% 0.162 344.4)
XYZxyz(17.8047, 10.3114, 18.1887)
Luminance0.1031 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2F76 #2F9B54
analogous
#8A2F9B #9B2F76 #9B2F40
triadic
#9B2F76 #769B2F #2F769B
tetradic
#9B2F76 #9B8A2F #2F9B54 #2F409B
square
#9B2F76 #9B8A2F #2F9B54 #2F409B
split-complementary
#9B2F76 #409B2F #2F9B8A
monochromatic
#3D132E #6C2152 #9B2F76 #C64298 #D471B2

Accessibility & contrast

On white

6.86
#9B2F76 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#9B2F76 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2F76
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2F76#FFFFFF#000000##FFFFFF
##9B2F761.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9b2f76;
/* rgb */ color: rgb(155, 47, 118);
/* oklch */ color: oklch(49.0% 0.162 344.4);
Tailwind
colors: {
  custom: {
    50: '#bc709d',
    500: '#9b2f76',
    950: '#000000',
  },
}
SCSS
$custom: #9b2f76;
$custom-light: #bc709d;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2f76",
  "rgb": {
    "r": 155,
    "g": 47,
    "b": 118
  },
  "hsl": {
    "h": 320.556,
    "s": 53.465,
    "l": 39.608
  },
  "oklch": {
    "l": 0.49025,
    "c": 0.1616,
    "h": 344.4
  },
  "luminance": 0.1031
}

Semantic roles & 50–950 ramp

primary
#9B2F76
secondary
#6ABB86
accent
#DD7D4B
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#12080E
muted
#817B7E

Preview Lab

Preview with #9B2F76

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

Preview Lab → · Contrast checker → · Palette generator →

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