#9C2F83#9C2F83

#9C2F83 is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.8% C 0.171 H 338.4°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#9C2F83
RGBrgb(156, 47, 131)
HSLhsl(314, 54%, 40%)
HSVhsv(314, 70%, 61%)
CMYKcmyk(0%, 69.9%, 16%, 38.8%)
CIE-LABlab(39.14, 53.77, -23.26)
CIE-LCHlch(39.14, 58.58, 336.61°)
OKLaboklab(49.79% 0.159 -0.063)
OKLCHoklch(49.79% 0.171 338.4)
XYZxyz(18.8239, 10.7414, 22.5502)
Luminance0.1074 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2F83 #2F9C48
analogous
#7E2F9C #9C2F83 #9C2F4D
triadic
#9C2F83 #839C2F #2F839C
tetradic
#9C2F83 #9C7E2F #2F9C48 #2F4D9C
square
#9C2F83 #9C7E2F #2F9C48 #2F4D9C
split-complementary
#9C2F83 #4D9C2F #2F9C7E
monochromatic
#3E1334 #6D215C #9C2F83 #C642A8 #D471BE

Accessibility & contrast

On white

6.67
#9C2F83 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#9C2F83 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2F83
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2F83#FFFFFF#000000##FFFFFF
##9C2F831.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345185
Deuteranopia (green-blind)
#576280
Tritanopia (blue-blind)
#A53455
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9c2f83;
/* rgb */ color: rgb(156, 47, 131);
/* oklch */ color: oklch(49.8% 0.171 338.4);
Tailwind
colors: {
  custom: {
    50: '#bd71a7',
    500: '#9c2f83',
    950: '#000000',
  },
}
SCSS
$custom: #9c2f83;
$custom-light: #bd71a7;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2f83",
  "rgb": {
    "r": 156,
    "g": 47,
    "b": 131
  },
  "hsl": {
    "h": 313.761,
    "s": 53.695,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49789,
    "c": 0.17104,
    "h": 338.4
  },
  "luminance": 0.1074
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9C2F83

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

Preview Lab → · Contrast checker → · Palette generator →

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