#9B2F78#9B2F78

#9B2F78 is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.1% C 0.163 H 343.3°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#9B2F78
RGBrgb(155, 47, 120)
HSLhsl(319, 53%, 40%)
HSVhsv(319, 70%, 61%)
CMYKcmyk(0%, 69.7%, 22.6%, 39.2%)
CIE-LABlab(38.48, 51.90, -17.48)
CIE-LCHlch(38.48, 54.77, 341.39°)
OKLaboklab(49.11% 0.156 -0.0467)
OKLCHoklch(49.11% 0.163 343.3)
XYZxyz(17.9249, 10.3594, 18.8212)
Luminance0.1036 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2F78 #2F9B52
analogous
#882F9B #9B2F78 #9B2F42
triadic
#9B2F78 #789B2F #2F789B
tetradic
#9B2F78 #9B882F #2F9B52 #2F429B
square
#9B2F78 #9B882F #2F9B52 #2F429B
split-complementary
#9B2F78 #429B2F #2F9B88
monochromatic
#3D132F #6C2154 #9B2F78 #C6429B #D471B4

Accessibility & contrast

On white

6.84
#9B2F78 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#9B2F78 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2F78
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2F78#FFFFFF#000000##FFFFFF
##9B2F781.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394F7A
Deuteranopia (green-blind)
#5A6175
Tritanopia (blue-blind)
#A52F4F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9b2f78;
/* rgb */ color: rgb(155, 47, 120);
/* oklch */ color: oklch(49.1% 0.163 343.3);
Tailwind
colors: {
  custom: {
    50: '#bc709f',
    500: '#9b2f78',
    950: '#000000',
  },
}
SCSS
$custom: #9b2f78;
$custom-light: #bc709f;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2f78",
  "rgb": {
    "r": 155,
    "g": 47,
    "b": 120
  },
  "hsl": {
    "h": 319.444,
    "s": 53.465,
    "l": 39.608
  },
  "oklch": {
    "l": 0.49114,
    "c": 0.16288,
    "h": 343.3
  },
  "luminance": 0.10358
}

Semantic roles & 50–950 ramp

primary
#9B2F78
secondary
#6ABB85
accent
#DD7A4B
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#12080E
muted
#817B7E

Preview Lab

Preview with #9B2F78

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

Preview Lab → · Contrast checker → · Palette generator →

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