#9B277F#9B277F

#9B277F is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.7% C 0.177 H 339.5°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#9B277F
RGBrgb(155, 39, 127)
HSLhsl(314, 60%, 38%)
HSVhsv(314, 75%, 61%)
CMYKcmyk(0%, 74.8%, 18.1%, 39.2%)
CIE-LABlab(37.76, 55.81, -22.95)
CIE-LCHlch(37.76, 60.34, 337.65°)
OKLaboklab(48.69% 0.1661 -0.062)
OKLCHoklch(48.69% 0.177 339.5)
XYZxyz(18.0743, 9.9537, 21.0439)
Luminance0.0995 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B277F #279B43
analogous
#7D279B #9B277F #9B2745
triadic
#9B277F #7F9B27 #277F9B
tetradic
#9B277F #9B7D27 #279B43 #27459B
square
#9B277F #9B7D27 #279B43 #27459B
split-complementary
#9B277F #459B27 #279B7D
monochromatic
#390E2F #6A1B57 #9B277F #CC33A7 #D864BC

Accessibility & contrast

On white

7.02
#9B277F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#9B277F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B277F
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B277F#FFFFFF#000000##FFFFFF
##9B277F1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4D81
Deuteranopia (green-blind)
#545F7C
Tritanopia (blue-blind)
#A42B50
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9b277f;
/* rgb */ color: rgb(155, 39, 127);
/* oklch */ color: oklch(48.7% 0.177 339.5);
Tailwind
colors: {
  custom: {
    50: '#bc6da4',
    500: '#9b277f',
    950: '#000000',
  },
}
SCSS
$custom: #9b277f;
$custom-light: #bc6da4;
$custom-dark: #000000;
JSON
{
  "hex": "#9b277f",
  "rgb": {
    "r": 155,
    "g": 39,
    "b": 127
  },
  "hsl": {
    "h": 314.483,
    "s": 59.794,
    "l": 38.039
  },
  "oklch": {
    "l": 0.48693,
    "c": 0.17731,
    "h": 339.5
  },
  "luminance": 0.09952
}

Semantic roles & 50–950 ramp

primary
#9B277F
secondary
#60BE77
accent
#E36B45
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#12080F
muted
#817B7F

Preview Lab

Preview with #9B277F

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

Preview Lab → · Contrast checker → · Palette generator →

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