#9B2E7A#9B2E7A

#9B2E7A is a mid, vivid pink. Relative luminance 0.103; OKLCH L 49.1% C 0.165 H 342.3°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#9B2E7A
RGBrgb(155, 46, 122)
HSLhsl(318, 54%, 39%)
HSVhsv(318, 70%, 61%)
CMYKcmyk(0%, 70.3%, 21.3%, 39.2%)
CIE-LABlab(38.43, 52.57, -18.80)
CIE-LCHlch(38.43, 55.84, 340.32°)
OKLaboklab(49.1% 0.1576 -0.0504)
OKLCHoklch(49.1% 0.165 342.3)
XYZxyz(18.0080, 10.3295, 19.4540)
Luminance0.1033 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2E7A #2E9B4F
analogous
#862E9B #9B2E7A #9B2E44
triadic
#9B2E7A #7A9B2E #2E7A9B
tetradic
#9B2E7A #9B862E #2E9B4F #2E449B
square
#9B2E7A #9B862E #2E9B4F #2E449B
split-complementary
#9B2E7A #449B2E #2E9B86
monochromatic
#3D1230 #6C2055 #9B2E7A #C6409E #D46FB6

Accessibility & contrast

On white

6.85
#9B2E7A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#9B2E7A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2E7A
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2E7A#FFFFFF#000000##FFFFFF
##9B2E7A1.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374F7C
Deuteranopia (green-blind)
#596177
Tritanopia (blue-blind)
#A52F50
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9b2e7a;
/* rgb */ color: rgb(155, 46, 122);
/* oklch */ color: oklch(49.1% 0.165 342.3);
Tailwind
colors: {
  custom: {
    50: '#bc70a0',
    500: '#9b2e7a',
    950: '#000000',
  },
}
SCSS
$custom: #9b2e7a;
$custom-light: #bc70a0;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2e7a",
  "rgb": {
    "r": 155,
    "g": 46,
    "b": 122
  },
  "hsl": {
    "h": 318.165,
    "s": 54.229,
    "l": 39.412
  },
  "oklch": {
    "l": 0.49104,
    "c": 0.16548,
    "h": 342.3
  },
  "luminance": 0.10328
}

Semantic roles & 50–950 ramp

primary
#9B2E7A
secondary
#69BC82
accent
#DE774A
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#12080E
muted
#817B7E

Preview Lab

Preview with #9B2E7A

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

Preview Lab → · Contrast checker → · Palette generator →

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