#9C2E7D#9C2E7D

#9C2E7D is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.4% C 0.168 H 341.2°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#9C2E7D
RGBrgb(156, 46, 125)
HSLhsl(317, 54%, 40%)
HSVhsv(317, 71%, 61%)
CMYKcmyk(0%, 70.5%, 19.9%, 38.8%)
CIE-LABlab(38.73, 53.27, -20.18)
CIE-LCHlch(38.73, 56.97, 339.25°)
OKLaboklab(49.4% 0.1592 -0.0543)
OKLCHoklch(49.4% 0.168 341.2)
XYZxyz(18.3895, 10.5044, 20.4571)
Luminance0.1050 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2E7D #2E9C4D
analogous
#842E9C #9C2E7D #9C2E46
triadic
#9C2E7D #7D9C2E #2E7D9C
tetradic
#9C2E7D #9C842E #2E9C4D #2E469C
square
#9C2E7D #9C842E #2E9C4D #2E469C
split-complementary
#9C2E7D #469C2E #2E9C84
monochromatic
#3D1231 #6D2057 #9C2E7D #C740A1 #D570B8

Accessibility & contrast

On white

6.77
#9C2E7D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#9C2E7D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2E7D
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2E7D#FFFFFF#000000##FFFFFF
##9C2E7D1.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36507F
Deuteranopia (green-blind)
#59627A
Tritanopia (blue-blind)
#A53051
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9c2e7d;
/* rgb */ color: rgb(156, 46, 125);
/* oklch */ color: oklch(49.4% 0.168 341.2);
Tailwind
colors: {
  custom: {
    50: '#bd70a3',
    500: '#9c2e7d',
    950: '#000000',
  },
}
SCSS
$custom: #9c2e7d;
$custom-light: #bd70a3;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2e7d",
  "rgb": {
    "r": 156,
    "g": 46,
    "b": 125
  },
  "hsl": {
    "h": 316.909,
    "s": 54.455,
    "l": 39.608
  },
  "oklch": {
    "l": 0.49403,
    "c": 0.16818,
    "h": 341.2
  },
  "luminance": 0.10503
}

Semantic roles & 50–950 ramp

primary
#9C2E7D
secondary
#6ABC81
accent
#DE744A
background
#FCF7FA
surface
#F8EDF3
border
#D1C8CD
text
#12080F
muted
#817B7F

Preview Lab

Preview with #9C2E7D

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

Preview Lab → · Contrast checker → · Palette generator →

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