#9C2E85#9C2E85

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

Color values

HEX#9C2E85
RGBrgb(156, 46, 133)
HSLhsl(313, 54%, 40%)
HSVhsv(313, 71%, 61%)
CMYKcmyk(0%, 70.5%, 14.7%, 38.8%)
CIE-LABlab(39.10, 54.45, -24.55)
CIE-LCHlch(39.10, 59.73, 335.73°)
OKLaboklab(49.79% 0.1605 -0.0666)
OKLCHoklch(49.79% 0.174 337.4)
XYZxyz(18.9213, 10.7171, 23.2578)
Luminance0.1071 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2E85 #2E9C45
analogous
#7C2E9C #9C2E85 #9C2E4E
triadic
#9C2E85 #859C2E #2E859C
tetradic
#9C2E85 #9C7C2E #2E9C45 #2E4E9C
square
#9C2E85 #9C7C2E #2E9C45 #2E4E9C
split-complementary
#9C2E85 #4E9C2E #2E9C7C
monochromatic
#3D1234 #6D205D #9C2E85 #C740AB #D570C0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C2E85#FFFFFF#000000##FFFFFF
##9C2E851.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)
#325187
Deuteranopia (green-blind)
#566282
Tritanopia (blue-blind)
#A43455
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9c2e85;
/* rgb */ color: rgb(156, 46, 133);
/* oklch */ color: oklch(49.8% 0.174 337.4);
Tailwind
colors: {
  custom: {
    50: '#bd70a8',
    500: '#9c2e85',
    950: '#000000',
  },
}
SCSS
$custom: #9c2e85;
$custom-light: #bd70a8;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2e85",
  "rgb": {
    "r": 156,
    "g": 46,
    "b": 133
  },
  "hsl": {
    "h": 312.545,
    "s": 54.455,
    "l": 39.608
  },
  "oklch": {
    "l": 0.4979,
    "c": 0.17374,
    "h": 337.4
  },
  "luminance": 0.10715
}

Semantic roles & 50–950 ramp

primary
#9C2E85
secondary
#6ABC7B
accent
#DE694A
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#12080F
muted
#817B7F

Preview Lab

Preview with #9C2E85

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

Preview Lab → · Contrast checker → · Palette generator →

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