#9B2F79#9B2F79

#9B2F79 is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.2% C 0.164 H 342.8°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#9B2F79
RGBrgb(155, 47, 121)
HSLhsl(319, 53%, 40%)
HSVhsv(319, 70%, 61%)
CMYKcmyk(0%, 69.7%, 21.9%, 39.2%)
CIE-LABlab(38.52, 52.05, -18.04)
CIE-LCHlch(38.52, 55.08, 340.89°)
OKLaboklab(49.16% 0.1563 -0.0482)
OKLCHoklch(49.16% 0.164 342.8)
XYZxyz(17.9859, 10.3838, 19.1425)
Luminance0.1038 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2F79 #2F9B51
analogous
#872F9B #9B2F79 #9B2F43
triadic
#9B2F79 #799B2F #2F799B
tetradic
#9B2F79 #9B872F #2F9B51 #2F439B
square
#9B2F79 #9B872F #2F9B51 #2F439B
split-complementary
#9B2F79 #439B2F #2F9B87
monochromatic
#3D1330 #6C2154 #9B2F79 #C6429C #D471B5

Accessibility & contrast

On white

6.83
#9B2F79 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#9B2F79 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2F79
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2F79#FFFFFF#000000##FFFFFF
##9B2F791.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394F7B
Deuteranopia (green-blind)
#5A6176
Tritanopia (blue-blind)
#A52F50
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9b2f79;
/* rgb */ color: rgb(155, 47, 121);
/* oklch */ color: oklch(49.2% 0.164 342.8);
Tailwind
colors: {
  custom: {
    50: '#bc70a0',
    500: '#9b2f79',
    950: '#000000',
  },
}
SCSS
$custom: #9b2f79;
$custom-light: #bc70a0;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2f79",
  "rgb": {
    "r": 155,
    "g": 47,
    "b": 121
  },
  "hsl": {
    "h": 318.889,
    "s": 53.465,
    "l": 39.608
  },
  "oklch": {
    "l": 0.4916,
    "c": 0.16353,
    "h": 342.8
  },
  "luminance": 0.10382
}

Semantic roles & 50–950 ramp

primary
#9B2F79
secondary
#6ABB84
accent
#DD794B
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#12080E
muted
#817B7E

Preview Lab

Preview with #9B2F79

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

Preview Lab → · Contrast checker → · Palette generator →

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