#9C2F82#9C2F82

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

Color values

HEX#9C2F82
RGBrgb(156, 47, 130)
HSLhsl(314, 54%, 40%)
HSVhsv(314, 70%, 61%)
CMYKcmyk(0%, 69.9%, 16.7%, 38.8%)
CIE-LABlab(39.10, 53.62, -22.71)
CIE-LCHlch(39.10, 58.23, 337.04°)
OKLaboklab(49.74% 0.1589 -0.0614)
OKLCHoklch(49.74% 0.17 338.9)
XYZxyz(18.7565, 10.7144, 22.1950)
Luminance0.1071 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2F82 #2F9C49
analogous
#802F9C #9C2F82 #9C2F4B
triadic
#9C2F82 #829C2F #2F829C
tetradic
#9C2F82 #9C802F #2F9C49 #2F4B9C
square
#9C2F82 #9C802F #2F9C49 #2F4B9C
split-complementary
#9C2F82 #4B9C2F #2F9C80
monochromatic
#3E1334 #6D215B #9C2F82 #C642A7 #D471BD

Accessibility & contrast

On white

6.68
#9C2F82 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9C2F82
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2F82#FFFFFF#000000##FFFFFF
##9C2F821.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345184
Deuteranopia (green-blind)
#57627F
Tritanopia (blue-blind)
#A53354
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9c2f82;
/* rgb */ color: rgb(156, 47, 130);
/* oklch */ color: oklch(49.7% 0.170 338.9);
Tailwind
colors: {
  custom: {
    50: '#bd71a6',
    500: '#9c2f82',
    950: '#000000',
  },
}
SCSS
$custom: #9c2f82;
$custom-light: #bd71a6;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2f82",
  "rgb": {
    "r": 156,
    "g": 47,
    "b": 130
  },
  "hsl": {
    "h": 314.312,
    "s": 53.695,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49741,
    "c": 0.17034,
    "h": 338.9
  },
  "luminance": 0.10713
}

Semantic roles & 50–950 ramp

primary
#9C2F82
secondary
#6BBC7E
accent
#DD6E4B
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#12080F
muted
#817B7F

Preview Lab

Preview with #9C2F82

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

Preview Lab → · Contrast checker → · Palette generator →

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