#9B277D#9B277D

#9B277D is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.6% C 0.176 H 340.4°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#9B277D
RGBrgb(155, 39, 125)
HSLhsl(316, 60%, 38%)
HSVhsv(316, 75%, 61%)
CMYKcmyk(0%, 74.8%, 19.4%, 39.2%)
CIE-LABlab(37.67, 55.52, -21.85)
CIE-LCHlch(37.67, 59.67, 338.52°)
OKLaboklab(48.6% 0.1658 -0.0589)
OKLCHoklch(48.6% 0.176 340.4)
XYZxyz(17.9453, 9.9020, 20.3643)
Luminance0.0990 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B277D #279B45
analogous
#7F279B #9B277D #9B2743
triadic
#9B277D #7D9B27 #277D9B
tetradic
#9B277D #9B7F27 #279B45 #27439B
square
#9B277D #9B7F27 #279B45 #27439B
split-complementary
#9B277D #439B27 #279B7F
monochromatic
#390E2E #6A1B56 #9B277D #CC33A4 #D864BA

Accessibility & contrast

On white

7.05
#9B277D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#9B277D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B277D
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B277D#FFFFFF#000000##FFFFFF
##9B277D1.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304D7F
Deuteranopia (green-blind)
#555F7A
Tritanopia (blue-blind)
#A42A4F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9b277d;
/* rgb */ color: rgb(155, 39, 125);
/* oklch */ color: oklch(48.6% 0.176 340.4);
Tailwind
colors: {
  custom: {
    50: '#bc6da3',
    500: '#9b277d',
    950: '#000000',
  },
}
SCSS
$custom: #9b277d;
$custom-light: #bc6da3;
$custom-dark: #000000;
JSON
{
  "hex": "#9b277d",
  "rgb": {
    "r": 155,
    "g": 39,
    "b": 125
  },
  "hsl": {
    "h": 315.517,
    "s": 59.794,
    "l": 38.039
  },
  "oklch": {
    "l": 0.48595,
    "c": 0.17598,
    "h": 340.4
  },
  "luminance": 0.099
}

Semantic roles & 50–950 ramp

primary
#9B277D
secondary
#60BE78
accent
#E36E45
background
#FCF6FA
surface
#F8ECF3
border
#D1C7CD
text
#12080F
muted
#817B7F

Preview Lab

Preview with #9B277D

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

Preview Lab → · Contrast checker → · Palette generator →

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