#9B2A79#9B2A79

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

Color values

HEX#9B2A79
RGBrgb(155, 42, 121)
HSLhsl(318, 57%, 39%)
HSVhsv(318, 73%, 61%)
CMYKcmyk(0%, 72.9%, 21.9%, 39.2%)
CIE-LABlab(37.85, 53.92, -19.07)
CIE-LCHlch(37.85, 57.19, 340.53°)
OKLaboklab(48.67% 0.162 -0.0511)
OKLCHoklch(48.67% 0.17 342.5)
XYZxyz(17.7973, 10.0068, 19.0797)
Luminance0.1001 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2A79 #2A9B4C
analogous
#842A9B #9B2A79 #9B2A40
triadic
#9B2A79 #799B2A #2A799B
tetradic
#9B2A79 #9B842A #2A9B4C #2A409B
square
#9B2A79 #9B842A #2A9B4C #2A409B
split-complementary
#9B2A79 #409B2A #2A9B84
monochromatic
#3B102E #6B1D53 #9B2A79 #C9399E #D669B5

Accessibility & contrast

On white

7.00
#9B2A79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#9B2A79 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2A79
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2A79#FFFFFF#000000##FFFFFF
##9B2A791.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354D7B
Deuteranopia (green-blind)
#586076
Tritanopia (blue-blind)
#A52B4E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9b2a79;
/* rgb */ color: rgb(155, 42, 121);
/* oklch */ color: oklch(48.7% 0.170 342.5);
Tailwind
colors: {
  custom: {
    50: '#bc6ea0',
    500: '#9b2a79',
    950: '#000000',
  },
}
SCSS
$custom: #9b2a79;
$custom-light: #bc6ea0;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2a79",
  "rgb": {
    "r": 155,
    "g": 42,
    "b": 121
  },
  "hsl": {
    "h": 318.053,
    "s": 57.36,
    "l": 38.627
  },
  "oklch": {
    "l": 0.48673,
    "c": 0.16984,
    "h": 342.5
  },
  "luminance": 0.10005
}

Semantic roles & 50–950 ramp

primary
#9B2A79
secondary
#64BD7F
accent
#E17547
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#12080E
muted
#817B7E

Preview Lab

Preview with #9B2A79

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

Preview Lab → · Contrast checker → · Palette generator →

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