#9C2F80#9C2F80

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

Color values

HEX#9C2F80
RGBrgb(156, 47, 128)
HSLhsl(315, 54%, 40%)
HSVhsv(315, 70%, 61%)
CMYKcmyk(0%, 69.9%, 17.9%, 38.8%)
CIE-LABlab(39.00, 53.32, -21.62)
CIE-LCHlch(39.00, 57.54, 337.93°)
OKLaboklab(49.64% 0.1586 -0.0583)
OKLCHoklch(49.64% 0.169 339.8)
XYZxyz(18.6236, 10.6612, 21.4949)
Luminance0.1066 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2F80 #2F9C4B
analogous
#822F9C #9C2F80 #9C2F49
triadic
#9C2F80 #809C2F #2F809C
tetradic
#9C2F80 #9C822F #2F9C4B #2F499C
square
#9C2F80 #9C822F #2F9C4B #2F499C
split-complementary
#9C2F80 #499C2F #2F9C82
monochromatic
#3E1333 #6D2159 #9C2F80 #C642A4 #D471BB

Accessibility & contrast

On white

6.71
#9C2F80 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#9C2F80 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2F80
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2F80#FFFFFF#000000##FFFFFF
##9C2F801.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365182
Deuteranopia (green-blind)
#58627D
Tritanopia (blue-blind)
#A53253
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9c2f80;
/* rgb */ color: rgb(156, 47, 128);
/* oklch */ color: oklch(49.6% 0.169 339.8);
Tailwind
colors: {
  custom: {
    50: '#bd71a5',
    500: '#9c2f80',
    950: '#000000',
  },
}
SCSS
$custom: #9c2f80;
$custom-light: #bd71a5;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2f80",
  "rgb": {
    "r": 156,
    "g": 47,
    "b": 128
  },
  "hsl": {
    "h": 315.413,
    "s": 53.695,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49644,
    "c": 0.16894,
    "h": 339.8
  },
  "luminance": 0.10659
}

Semantic roles & 50–950 ramp

primary
#9C2F80
secondary
#6BBC80
accent
#DD704B
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#12080F
muted
#817B7F

Preview Lab

Preview with #9C2F80

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

Preview Lab → · Contrast checker → · Palette generator →

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