#9B277E#9B277E

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

Color values

HEX#9B277E
RGBrgb(155, 39, 126)
HSLhsl(315, 60%, 38%)
HSVhsv(315, 75%, 61%)
CMYKcmyk(0%, 74.8%, 18.7%, 39.2%)
CIE-LABlab(37.71, 55.66, -22.40)
CIE-LCHlch(37.71, 60.00, 338.08°)
OKLaboklab(48.64% 0.166 -0.0605)
OKLCHoklch(48.64% 0.177 340)
XYZxyz(18.0095, 9.9277, 20.7024)
Luminance0.0993 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B277E #279B44
analogous
#7E279B #9B277E #9B2744
triadic
#9B277E #7E9B27 #277E9B
tetradic
#9B277E #9B7E27 #279B44 #27449B
square
#9B277E #9B7E27 #279B44 #27449B
split-complementary
#9B277E #449B27 #279B7E
monochromatic
#390E2F #6A1B56 #9B277E #CC33A6 #D864BB

Accessibility & contrast

On white

7.03
#9B277E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9B277E
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B277E#FFFFFF#000000##FFFFFF
##9B277E1.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4D80
Deuteranopia (green-blind)
#555F7B
Tritanopia (blue-blind)
#A42B4F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9b277e;
/* rgb */ color: rgb(155, 39, 126);
/* oklch */ color: oklch(48.6% 0.177 340.0);
Tailwind
colors: {
  custom: {
    50: '#bc6da3',
    500: '#9b277e',
    950: '#000000',
  },
}
SCSS
$custom: #9b277e;
$custom-light: #bc6da3;
$custom-dark: #000000;
JSON
{
  "hex": "#9b277e",
  "rgb": {
    "r": 155,
    "g": 39,
    "b": 126
  },
  "hsl": {
    "h": 315,
    "s": 59.794,
    "l": 38.039
  },
  "oklch": {
    "l": 0.48644,
    "c": 0.17665,
    "h": 340
  },
  "luminance": 0.09926
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9B277E

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

Preview Lab → · Contrast checker → · Palette generator →

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