#9B2E82#9B2E82

#9B2E82 is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.5% C 0.171 H 338.4°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#9B2E82
RGBrgb(155, 46, 130)
HSLhsl(314, 54%, 39%)
HSVhsv(314, 70%, 61%)
CMYKcmyk(0%, 70.3%, 16.1%, 39.2%)
CIE-LABlab(38.79, 53.74, -23.20)
CIE-LCHlch(38.79, 58.53, 336.65°)
OKLaboklab(49.48% 0.159 -0.0628)
OKLCHoklch(49.48% 0.171 338.4)
XYZxyz(18.5242, 10.5360, 22.1728)
Luminance0.1053 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2E82 #2E9B47
analogous
#7D2E9B #9B2E82 #9B2E4C
triadic
#9B2E82 #829B2E #2E829B
tetradic
#9B2E82 #9B7D2E #2E9B47 #2E4C9B
square
#9B2E82 #9B7D2E #2E9B47 #2E4C9B
split-complementary
#9B2E82 #4C9B2E #2E9B7D
monochromatic
#3D1233 #6C205A #9B2E82 #C640A7 #D46FBD

Accessibility & contrast

On white

6.76
#9B2E82 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#9B2E82 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2E82
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2E82#FFFFFF#000000##FFFFFF
##9B2E821.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335084
Deuteranopia (green-blind)
#56617F
Tritanopia (blue-blind)
#A43354
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9b2e82;
/* rgb */ color: rgb(155, 46, 130);
/* oklch */ color: oklch(49.5% 0.171 338.4);
Tailwind
colors: {
  custom: {
    50: '#bc70a6',
    500: '#9b2e82',
    950: '#000000',
  },
}
SCSS
$custom: #9b2e82;
$custom-light: #bc70a6;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2e82",
  "rgb": {
    "r": 155,
    "g": 46,
    "b": 130
  },
  "hsl": {
    "h": 313.761,
    "s": 54.229,
    "l": 39.412
  },
  "oklch": {
    "l": 0.49484,
    "c": 0.17095,
    "h": 338.4
  },
  "luminance": 0.10534
}

Semantic roles & 50–950 ramp

primary
#9B2E82
secondary
#69BC7C
accent
#DE6C4A
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#12080F
muted
#817B7F

Preview Lab

Preview with #9B2E82

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

Preview Lab → · Contrast checker → · Palette generator →

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