#9B2279#9B2279

#9B2279 is a mid, vivid pink. Relative luminance 0.095; OKLCH L 48.0% C 0.179 H 342.0°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#9B2279
RGBrgb(155, 34, 121)
HSLhsl(317, 64%, 37%)
HSVhsv(317, 78%, 61%)
CMYKcmyk(0%, 78.1%, 21.9%, 39.2%)
CIE-LABlab(36.92, 56.57, -20.51)
CIE-LCHlch(36.92, 60.17, 340.07°)
OKLaboklab(48% 0.1701 -0.0551)
OKLCHoklch(48% 0.179 342)
XYZxyz(17.5414, 9.4949, 18.9944)
Luminance0.0949 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2279 #229B44
analogous
#81229B #9B2279 #9B223C
triadic
#9B2279 #799B22 #22799B
tetradic
#9B2279 #9B8122 #229B44 #223C9B
square
#9B2279 #9B8122 #229B44 #223C9B
split-complementary
#9B2279 #3C9B22 #229B81
monochromatic
#370C2B #691752 #9B2279 #CD2DA0 #DB5CB8

Accessibility & contrast

On white

7.24
#9B2279 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#9B2279 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B2279
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2279#FFFFFF#000000##FFFFFF
##9B22791.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4A7B
Deuteranopia (green-blind)
#555E76
Tritanopia (blue-blind)
#A5244B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9b2279;
/* rgb */ color: rgb(155, 34, 121);
/* oklch */ color: oklch(48.0% 0.179 342.0);
Tailwind
colors: {
  custom: {
    50: '#bc6ba0',
    500: '#9b2279',
    950: '#000000',
  },
}
SCSS
$custom: #9b2279;
$custom-light: #bc6ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2279",
  "rgb": {
    "r": 155,
    "g": 34,
    "b": 121
  },
  "hsl": {
    "h": 316.86,
    "s": 64.021,
    "l": 37.059
  },
  "oklch": {
    "l": 0.47995,
    "c": 0.17878,
    "h": 342
  },
  "luminance": 0.09493
}

Semantic roles & 50–950 ramp

primary
#9B2279
secondary
#59C076
accent
#E76F41
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9B2279

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

Preview Lab → · Contrast checker → · Palette generator →

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