#9B2E7D#9B2E7D

#9B2E7D is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.2% C 0.167 H 340.8°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#9B2E7D
RGBrgb(155, 46, 125)
HSLhsl(317, 54%, 39%)
HSVhsv(317, 70%, 61%)
CMYKcmyk(0%, 70.3%, 19.4%, 39.2%)
CIE-LABlab(38.56, 53.00, -20.46)
CIE-LCHlch(38.56, 56.82, 338.89°)
OKLaboklab(49.24% 0.1582 -0.0551)
OKLCHoklch(49.24% 0.167 340.8)
XYZxyz(18.1967, 10.4050, 20.4481)
Luminance0.1040 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2E7D #2E9B4C
analogous
#832E9B #9B2E7D #9B2E46
triadic
#9B2E7D #7D9B2E #2E7D9B
tetradic
#9B2E7D #9B832E #2E9B4C #2E469B
square
#9B2E7D #9B832E #2E9B4C #2E469B
split-complementary
#9B2E7D #469B2E #2E9B83
monochromatic
#3D1231 #6C2057 #9B2E7D #C640A1 #D46FB8

Accessibility & contrast

On white

6.82
#9B2E7D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#9B2E7D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2E7D
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2E7D#FFFFFF#000000##FFFFFF
##9B2E7D1.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36507F
Deuteranopia (green-blind)
#58617A
Tritanopia (blue-blind)
#A43051
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9b2e7d;
/* rgb */ color: rgb(155, 46, 125);
/* oklch */ color: oklch(49.2% 0.167 340.8);
Tailwind
colors: {
  custom: {
    50: '#bc70a3',
    500: '#9b2e7d',
    950: '#000000',
  },
}
SCSS
$custom: #9b2e7d;
$custom-light: #bc70a3;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2e7d",
  "rgb": {
    "r": 155,
    "g": 46,
    "b": 125
  },
  "hsl": {
    "h": 316.514,
    "s": 54.229,
    "l": 39.412
  },
  "oklch": {
    "l": 0.49244,
    "c": 0.16749,
    "h": 340.8
  },
  "luminance": 0.10403
}

Semantic roles & 50–950 ramp

primary
#9B2E7D
secondary
#69BC80
accent
#DE734A
background
#FCF7FA
surface
#F8EDF3
border
#D1C8CD
text
#12080F
muted
#817B7F

Preview Lab

Preview with #9B2E7D

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

Preview Lab → · Contrast checker → · Palette generator →

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