#9B2F7E#9B2F7E

#9B2F7E is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.4% C 0.167 H 340.4°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#9B2F7E
RGBrgb(155, 47, 126)
HSLhsl(316, 53%, 40%)
HSVhsv(316, 70%, 61%)
CMYKcmyk(0%, 69.7%, 18.7%, 39.2%)
CIE-LABlab(38.74, 52.76, -20.80)
CIE-LCHlch(38.74, 56.72, 338.48°)
OKLaboklab(49.39% 0.1572 -0.056)
OKLCHoklch(49.39% 0.167 340.4)
XYZxyz(18.3005, 10.5097, 20.7994)
Luminance0.1051 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2F7E #2F9B4C
analogous
#822F9B #9B2F7E #9B2F48
triadic
#9B2F7E #7E9B2F #2F7E9B
tetradic
#9B2F7E #9B822F #2F9B4C #2F489B
square
#9B2F7E #9B822F #2F9B4C #2F489B
split-complementary
#9B2F7E #489B2F #2F9B82
monochromatic
#3D1332 #6C2158 #9B2F7E #C642A2 #D471B9

Accessibility & contrast

On white

6.77
#9B2F7E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#9B2F7E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2F7E
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2F7E#FFFFFF#000000##FFFFFF
##9B2F7E1.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365080
Deuteranopia (green-blind)
#58617B
Tritanopia (blue-blind)
#A43252
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9b2f7e;
/* rgb */ color: rgb(155, 47, 126);
/* oklch */ color: oklch(49.4% 0.167 340.4);
Tailwind
colors: {
  custom: {
    50: '#bc71a3',
    500: '#9b2f7e',
    950: '#000000',
  },
}
SCSS
$custom: #9b2f7e;
$custom-light: #bc71a3;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2f7e",
  "rgb": {
    "r": 155,
    "g": 47,
    "b": 126
  },
  "hsl": {
    "h": 316.111,
    "s": 53.465,
    "l": 39.608
  },
  "oklch": {
    "l": 0.49391,
    "c": 0.16688,
    "h": 340.4
  },
  "luminance": 0.10508
}

Semantic roles & 50–950 ramp

primary
#9B2F7E
secondary
#6ABB80
accent
#DD724B
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#12080F
muted
#817B7F

Preview Lab

Preview with #9B2F7E

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

Preview Lab → · Contrast checker → · Palette generator →

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