#9C2F85#9C2F85

#9C2F85 is a mid, vivid pink. Relative luminance 0.108; OKLCH L 49.9% C 0.172 H 337.5°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#9C2F85
RGBrgb(156, 47, 133)
HSLhsl(313, 54%, 40%)
HSVhsv(313, 70%, 61%)
CMYKcmyk(0%, 69.9%, 14.7%, 38.8%)
CIE-LABlab(39.23, 54.07, -24.34)
CIE-LCHlch(39.23, 59.30, 335.76°)
OKLaboklab(49.89% 0.1593 -0.0661)
OKLCHoklch(49.89% 0.172 337.5)
XYZxyz(18.9608, 10.7961, 23.2710)
Luminance0.1079 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2F85 #2F9C46
analogous
#7D2F9C #9C2F85 #9C2F4E
triadic
#9C2F85 #859C2F #2F859C
tetradic
#9C2F85 #9C7D2F #2F9C46 #2F4E9C
square
#9C2F85 #9C7D2F #2F9C46 #2F4E9C
split-complementary
#9C2F85 #4E9C2F #2F9C7D
monochromatic
#3E1335 #6D215D #9C2F85 #C642AA #D471BF

Accessibility & contrast

On white

6.65
#9C2F85 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#9C2F85 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2F85
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2F85#FFFFFF#000000##FFFFFF
##9C2F851.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325287
Deuteranopia (green-blind)
#566282
Tritanopia (blue-blind)
#A43556
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9c2f85;
/* rgb */ color: rgb(156, 47, 133);
/* oklch */ color: oklch(49.9% 0.172 337.5);
Tailwind
colors: {
  custom: {
    50: '#bd71a8',
    500: '#9c2f85',
    950: '#000000',
  },
}
SCSS
$custom: #9c2f85;
$custom-light: #bd71a8;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2f85",
  "rgb": {
    "r": 156,
    "g": 47,
    "b": 133
  },
  "hsl": {
    "h": 312.661,
    "s": 53.695,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49888,
    "c": 0.17247,
    "h": 337.5
  },
  "luminance": 0.10794
}

Semantic roles & 50–950 ramp

primary
#9C2F85
secondary
#6BBC7C
accent
#DD6A4B
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#12080F
muted
#817B7F

Preview Lab

Preview with #9C2F85

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

Preview Lab → · Contrast checker → · Palette generator →

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