#9B2E7F#9B2E7F

#9B2E7F is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.3% C 0.169 H 339.8°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#9B2E7F
RGBrgb(155, 46, 127)
HSLhsl(315, 54%, 39%)
HSVhsv(315, 70%, 61%)
CMYKcmyk(0%, 70.3%, 18.1%, 39.2%)
CIE-LABlab(38.65, 53.29, -21.56)
CIE-LCHlch(38.65, 57.49, 337.97°)
OKLaboklab(49.34% 0.1585 -0.0582)
OKLCHoklch(49.34% 0.169 339.8)
XYZxyz(18.3258, 10.4566, 21.1277)
Luminance0.1046 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2E7F #2E9B4A
analogous
#812E9B #9B2E7F #9B2E49
triadic
#9B2E7F #7F9B2E #2E7F9B
tetradic
#9B2E7F #9B812E #2E9B4A #2E499B
square
#9B2E7F #9B812E #2E9B4A #2E499B
split-complementary
#9B2E7F #499B2E #2E9B81
monochromatic
#3D1232 #6C2058 #9B2E7F #C640A4 #D46FBA

Accessibility & contrast

On white

6.79
#9B2E7F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9B2E7F
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2E7F#FFFFFF#000000##FFFFFF
##9B2E7F1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9b2e7f;
/* rgb */ color: rgb(155, 46, 127);
/* oklch */ color: oklch(49.3% 0.169 339.8);
Tailwind
colors: {
  custom: {
    50: '#bc70a4',
    500: '#9b2e7f',
    950: '#000000',
  },
}
SCSS
$custom: #9b2e7f;
$custom-light: #bc70a4;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2e7f",
  "rgb": {
    "r": 155,
    "g": 46,
    "b": 127
  },
  "hsl": {
    "h": 315.413,
    "s": 54.229,
    "l": 39.412
  },
  "oklch": {
    "l": 0.49339,
    "c": 0.16886,
    "h": 339.8
  },
  "luminance": 0.10455
}

Semantic roles & 50–950 ramp

primary
#9B2E7F
secondary
#69BC7E
accent
#DE704A
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#12080F
muted
#817B7F

Preview Lab

Preview with #9B2E7F

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

Preview Lab → · Contrast checker → · Palette generator →

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