#9B2E7E#9B2E7E

#9B2E7E is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.3% C 0.168 H 340.3°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#9B2E7E
RGBrgb(155, 46, 126)
HSLhsl(316, 54%, 39%)
HSVhsv(316, 70%, 61%)
CMYKcmyk(0%, 70.3%, 18.7%, 39.2%)
CIE-LABlab(38.60, 53.15, -21.01)
CIE-LCHlch(38.60, 57.15, 338.43°)
OKLaboklab(49.29% 0.1584 -0.0566)
OKLCHoklch(49.29% 0.168 340.3)
XYZxyz(18.2609, 10.4306, 20.7862)
Luminance0.1043 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2E7E #2E9B4B
analogous
#822E9B #9B2E7E #9B2E48
triadic
#9B2E7E #7E9B2E #2E7E9B
tetradic
#9B2E7E #9B822E #2E9B4B #2E489B
square
#9B2E7E #9B822E #2E9B4B #2E489B
split-complementary
#9B2E7E #489B2E #2E9B82
monochromatic
#3D1231 #6C2058 #9B2E7E #C640A3 #D46FB9

Accessibility & contrast

On white

6.81
#9B2E7E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#9B2E7E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2E7E
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2E7E#FFFFFF#000000##FFFFFF
##9B2E7E1.006.813.096.81
#FFFFFF6.811.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355080
Deuteranopia (green-blind)
#57617B
Tritanopia (blue-blind)
#A43152
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9b2e7e;
/* rgb */ color: rgb(155, 46, 126);
/* oklch */ color: oklch(49.3% 0.168 340.3);
Tailwind
colors: {
  custom: {
    50: '#bc70a3',
    500: '#9b2e7e',
    950: '#000000',
  },
}
SCSS
$custom: #9b2e7e;
$custom-light: #bc70a3;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2e7e",
  "rgb": {
    "r": 155,
    "g": 46,
    "b": 126
  },
  "hsl": {
    "h": 315.963,
    "s": 54.229,
    "l": 39.412
  },
  "oklch": {
    "l": 0.49291,
    "c": 0.16817,
    "h": 340.3
  },
  "luminance": 0.10429
}

Semantic roles & 50–950 ramp

primary
#9B2E7E
secondary
#69BC7F
accent
#DE714A
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#12080F
muted
#817B7F

Preview Lab

Preview with #9B2E7E

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

Preview Lab → · Contrast checker → · Palette generator →

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