#9B2E7B#9B2E7B

#9B2E7B is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.1% C 0.166 H 341.8°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#9B2E7B
RGBrgb(155, 46, 123)
HSLhsl(318, 54%, 39%)
HSVhsv(318, 70%, 61%)
CMYKcmyk(0%, 70.3%, 20.6%, 39.2%)
CIE-LABlab(38.47, 52.72, -19.36)
CIE-LCHlch(38.47, 56.16, 339.83°)
OKLaboklab(49.15% 0.1578 -0.052)
OKLCHoklch(49.15% 0.166 341.8)
XYZxyz(18.0703, 10.3544, 19.7820)
Luminance0.1035 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2E7B #2E9B4E
analogous
#852E9B #9B2E7B #9B2E44
triadic
#9B2E7B #7B9B2E #2E7B9B
tetradic
#9B2E7B #9B852E #2E9B4E #2E449B
square
#9B2E7B #9B852E #2E9B4E #2E449B
split-complementary
#9B2E7B #449B2E #2E9B85
monochromatic
#3D1230 #6C2056 #9B2E7B #C6409F #D46FB7

Accessibility & contrast

On white

6.84
#9B2E7B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9B2E7B
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2E7B#FFFFFF#000000##FFFFFF
##9B2E7B1.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374F7D
Deuteranopia (green-blind)
#596178
Tritanopia (blue-blind)
#A52F50
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9b2e7b;
/* rgb */ color: rgb(155, 46, 123);
/* oklch */ color: oklch(49.1% 0.166 341.8);
Tailwind
colors: {
  custom: {
    50: '#bc70a1',
    500: '#9b2e7b',
    950: '#000000',
  },
}
SCSS
$custom: #9b2e7b;
$custom-light: #bc70a1;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2e7b",
  "rgb": {
    "r": 155,
    "g": 46,
    "b": 123
  },
  "hsl": {
    "h": 317.615,
    "s": 54.229,
    "l": 39.412
  },
  "oklch": {
    "l": 0.4915,
    "c": 0.16614,
    "h": 341.8
  },
  "luminance": 0.10353
}

Semantic roles & 50–950 ramp

primary
#9B2E7B
secondary
#69BC81
accent
#DE754A
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#12080F
muted
#817B7E

Preview Lab

Preview with #9B2E7B

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

Preview Lab → · Contrast checker → · Palette generator →

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