#9B274D#9B274D

#9B274D is a mid, vivid pink. Relative luminance 0.090; OKLCH L 46.7% C 0.153 H 5.9°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#9B274D
RGBrgb(155, 39, 77)
HSLhsl(340, 60%, 38%)
HSVhsv(340, 75%, 61%)
CMYKcmyk(0%, 74.8%, 50.3%, 39.2%)
CIE-LABlab(35.90, 49.95, 5.97)
CIE-LCHlch(35.90, 50.30, 6.82°)
OKLaboklab(46.73% 0.1525 0.0157)
OKLCHoklch(46.73% 0.153 5.9)
XYZxyz(15.5840, 8.9575, 7.9281)
Luminance0.0896 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B274D #279B75
analogous
#9B2787 #9B274D #9B3B27
triadic
#9B274D #4D9B27 #274D9B
tetradic
#9B274D #879B27 #279B75 #3B279B
square
#9B274D #879B27 #279B75 #3B279B
split-complementary
#9B274D #279B3B #27879B
monochromatic
#390E1C #6A1B35 #9B274D #CC3365 #D8648A

Accessibility & contrast

On white

7.52
#9B274D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#9B274D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B274D
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B274D#FFFFFF#000000##FFFFFF
##9B274D1.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43464E
Deuteranopia (green-blind)
#625D4A
Tritanopia (blue-blind)
#A90D37
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9b274d;
/* rgb */ color: rgb(155, 39, 77);
/* oklch */ color: oklch(46.7% 0.153 5.9);
Tailwind
colors: {
  custom: {
    50: '#be6b7e',
    500: '#9b274d',
    950: '#000000',
  },
}
SCSS
$custom: #9b274d;
$custom-light: #be6b7e;
$custom-dark: #000000;
JSON
{
  "hex": "#9b274d",
  "rgb": {
    "r": 155,
    "g": 39,
    "b": 77
  },
  "hsl": {
    "h": 340.345,
    "s": 59.794,
    "l": 38.039
  },
  "oklch": {
    "l": 0.46729,
    "c": 0.15331,
    "h": 5.9
  },
  "luminance": 0.08955
}

Semantic roles & 50–950 ramp

primary
#9B274D
secondary
#60BE9F
accent
#E3AF45
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#130709
muted
#827A7B

Preview Lab

Preview with #9B274D

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

Preview Lab → · Contrast checker → · Palette generator →

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