#9B2D79#9B2D79

#9B2D79 is a mid, vivid pink. Relative luminance 0.102; OKLCH L 49.0% C 0.166 H 342.7°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#9B2D79
RGBrgb(155, 45, 121)
HSLhsl(319, 55%, 39%)
HSVhsv(319, 71%, 61%)
CMYKcmyk(0%, 71%, 21.9%, 39.2%)
CIE-LABlab(38.25, 52.81, -18.46)
CIE-LCHlch(38.25, 55.95, 340.73°)
OKLaboklab(48.96% 0.1586 -0.0494)
OKLCHoklch(48.96% 0.166 342.7)
XYZxyz(17.9077, 10.2276, 19.1165)
Luminance0.1023 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2D79 #2D9B4F
analogous
#862D9B #9B2D79 #9B2D42
triadic
#9B2D79 #799B2D #2D799B
tetradic
#9B2D79 #9B862D #2D9B4F #2D429B
square
#9B2D79 #9B862D #2D9B4F #2D429B
split-complementary
#9B2D79 #429B2D #2D9B86
monochromatic
#3C112F #6C1F54 #9B2D79 #C73E9D #D56EB5

Accessibility & contrast

On white

6.90
#9B2D79 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9B2D79
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2D79#FFFFFF#000000##FFFFFF
##9B2D791.006.903.056.90
#FFFFFF6.901.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374E7B
Deuteranopia (green-blind)
#596176
Tritanopia (blue-blind)
#A52E4F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9b2d79;
/* rgb */ color: rgb(155, 45, 121);
/* oklch */ color: oklch(49.0% 0.166 342.7);
Tailwind
colors: {
  custom: {
    50: '#bc6fa0',
    500: '#9b2d79',
    950: '#000000',
  },
}
SCSS
$custom: #9b2d79;
$custom-light: #bc6fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2d79",
  "rgb": {
    "r": 155,
    "g": 45,
    "b": 121
  },
  "hsl": {
    "h": 318.545,
    "s": 55,
    "l": 39.216
  },
  "oklch": {
    "l": 0.48959,
    "c": 0.16611,
    "h": 342.7
  },
  "luminance": 0.10226
}

Semantic roles & 50–950 ramp

primary
#9B2D79
secondary
#68BC82
accent
#DE7749
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#12080E
muted
#817B7E

Preview Lab

Preview with #9B2D79

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

Preview Lab → · Contrast checker → · Palette generator →

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