#9B2F85#9B2F85

#9B2F85 is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.7% C 0.172 H 337.1°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#9B2F85
RGBrgb(155, 47, 133)
HSLhsl(312, 53%, 40%)
HSVhsv(312, 70%, 61%)
CMYKcmyk(0%, 69.7%, 14.2%, 39.2%)
CIE-LABlab(39.06, 53.81, -24.62)
CIE-LCHlch(39.06, 59.18, 335.41°)
OKLaboklab(49.73% 0.1583 -0.0669)
OKLCHoklch(49.73% 0.172 337.1)
XYZxyz(18.7680, 10.6967, 23.2620)
Luminance0.1070 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2F85 #2F9B45
analogous
#7B2F9B #9B2F85 #9B2F4F
triadic
#9B2F85 #859B2F #2F859B
tetradic
#9B2F85 #9B7B2F #2F9B45 #2F4F9B
square
#9B2F85 #9B7B2F #2F9B45 #2F4F9B
split-complementary
#9B2F85 #4F9B2F #2F9B7B
monochromatic
#3D1334 #6C215D #9B2F85 #C642AB #D471C0

Accessibility & contrast

On white

6.69
#9B2F85 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#9B2F85 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2F85
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2F85#FFFFFF#000000##FFFFFF
##9B2F851.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325187
Deuteranopia (green-blind)
#556282
Tritanopia (blue-blind)
#A33556
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9b2f85;
/* rgb */ color: rgb(155, 47, 133);
/* oklch */ color: oklch(49.7% 0.172 337.1);
Tailwind
colors: {
  custom: {
    50: '#bc71a8',
    500: '#9b2f85',
    950: '#000000',
  },
}
SCSS
$custom: #9b2f85;
$custom-light: #bc71a8;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2f85",
  "rgb": {
    "r": 155,
    "g": 47,
    "b": 133
  },
  "hsl": {
    "h": 312.222,
    "s": 53.465,
    "l": 39.608
  },
  "oklch": {
    "l": 0.49732,
    "c": 0.17183,
    "h": 337.1
  },
  "luminance": 0.10695
}

Semantic roles & 50–950 ramp

primary
#9B2F85
secondary
#6ABB7B
accent
#DD694B
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#12080F
muted
#817B7F

Preview Lab

Preview with #9B2F85

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

Preview Lab → · Contrast checker → · Palette generator →

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