#9C2E7F#9C2E7F

#9C2E7F is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.5% C 0.170 H 340.2°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#9C2E7F
RGBrgb(156, 46, 127)
HSLhsl(316, 54%, 40%)
HSVhsv(316, 71%, 61%)
CMYKcmyk(0%, 70.5%, 18.6%, 38.8%)
CIE-LABlab(38.82, 53.56, -21.28)
CIE-LCHlch(38.82, 57.63, 338.33°)
OKLaboklab(49.5% 0.1595 -0.0574)
OKLCHoklch(49.5% 0.17 340.2)
XYZxyz(18.5185, 10.5560, 21.1368)
Luminance0.1055 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2E7F #2E9C4B
analogous
#822E9C #9C2E7F #9C2E48
triadic
#9C2E7F #7F9C2E #2E7F9C
tetradic
#9C2E7F #9C822E #2E9C4B #2E489C
square
#9C2E7F #9C822E #2E9C4B #2E489C
split-complementary
#9C2E7F #489C2E #2E9C82
monochromatic
#3D1232 #6D2059 #9C2E7F #C740A3 #D570BA

Accessibility & contrast

On white

6.75
#9C2E7F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#9C2E7F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2E7F
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2E7F#FFFFFF#000000##FFFFFF
##9C2E7F1.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355081
Deuteranopia (green-blind)
#58627C
Tritanopia (blue-blind)
#A53152
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9c2e7f;
/* rgb */ color: rgb(156, 46, 127);
/* oklch */ color: oklch(49.5% 0.170 340.2);
Tailwind
colors: {
  custom: {
    50: '#bd70a4',
    500: '#9c2e7f',
    950: '#000000',
  },
}
SCSS
$custom: #9c2e7f;
$custom-light: #bd70a4;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2e7f",
  "rgb": {
    "r": 156,
    "g": 46,
    "b": 127
  },
  "hsl": {
    "h": 315.818,
    "s": 54.455,
    "l": 39.608
  },
  "oklch": {
    "l": 0.49497,
    "c": 0.16954,
    "h": 340.2
  },
  "luminance": 0.10554
}

Semantic roles & 50–950 ramp

primary
#9C2E7F
secondary
#6ABC7F
accent
#DE714A
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#12080F
muted
#817B7F

Preview Lab

Preview with #9C2E7F

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

Preview Lab → · Contrast checker → · Palette generator →

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