#9B274E#9B274E

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

Color values

HEX#9B274E
RGBrgb(155, 39, 78)
HSLhsl(340, 60%, 38%)
HSVhsv(340, 75%, 61%)
CMYKcmyk(0%, 74.8%, 49.7%, 39.2%)
CIE-LABlab(35.93, 50.04, 5.37)
CIE-LCHlch(35.93, 50.32, 6.12°)
OKLaboklab(46.76% 0.1529 0.0142)
OKLCHoklch(46.76% 0.154 5.3)
XYZxyz(15.6196, 8.9718, 8.1155)
Luminance0.0897 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B274E #279B74
analogous
#9B2788 #9B274E #9B3A27
triadic
#9B274E #4E9B27 #274E9B
tetradic
#9B274E #889B27 #279B74 #3A279B
square
#9B274E #889B27 #279B74 #3A279B
split-complementary
#9B274E #279B3A #27889B
monochromatic
#390E1D #6A1B35 #9B274E #CC3367 #D8648B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9B274E#FFFFFF#000000##FFFFFF
##9B274E1.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)
#43464F
Deuteranopia (green-blind)
#615D4B
Tritanopia (blue-blind)
#A90E37
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9b274e;
/* rgb */ color: rgb(155, 39, 78);
/* oklch */ color: oklch(46.8% 0.154 5.3);
Tailwind
colors: {
  custom: {
    50: '#be6b7f',
    500: '#9b274e',
    950: '#000000',
  },
}
SCSS
$custom: #9b274e;
$custom-light: #be6b7f;
$custom-dark: #000000;
JSON
{
  "hex": "#9b274e",
  "rgb": {
    "r": 155,
    "g": 39,
    "b": 78
  },
  "hsl": {
    "h": 339.828,
    "s": 59.794,
    "l": 38.039
  },
  "oklch": {
    "l": 0.46758,
    "c": 0.15355,
    "h": 5.3
  },
  "luminance": 0.0897
}

Semantic roles & 50–950 ramp

primary
#9B274E
secondary
#60BE9E
accent
#E3AE45
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9B274E

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

Preview Lab → · Contrast checker → · Palette generator →

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