#9C2F7C#9C2F7C

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

Color values

HEX#9C2F7C
RGBrgb(156, 47, 124)
HSLhsl(318, 54%, 40%)
HSVhsv(318, 70%, 61%)
CMYKcmyk(0%, 69.9%, 20.5%, 38.8%)
CIE-LABlab(38.83, 52.74, -19.42)
CIE-LCHlch(38.83, 56.21, 339.79°)
OKLaboklab(49.46% 0.1578 -0.0521)
OKLCHoklch(49.46% 0.166 341.7)
XYZxyz(18.3655, 10.5580, 20.1355)
Luminance0.1056 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2F7C #2F9C4F
analogous
#862F9C #9C2F7C #9C2F45
triadic
#9C2F7C #7C9C2F #2F7C9C
tetradic
#9C2F7C #9C862F #2F9C4F #2F459C
square
#9C2F7C #9C862F #2F9C4F #2F459C
split-complementary
#9C2F7C #459C2F #2F9C86
monochromatic
#3E1331 #6D2157 #9C2F7C #C6429F #D471B7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C2F7C#FFFFFF#000000##FFFFFF
##9C2F7C1.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)
#38507E
Deuteranopia (green-blind)
#596279
Tritanopia (blue-blind)
#A63151
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9c2f7c;
/* rgb */ color: rgb(156, 47, 124);
/* oklch */ color: oklch(49.5% 0.166 341.7);
Tailwind
colors: {
  custom: {
    50: '#bd71a2',
    500: '#9c2f7c',
    950: '#000000',
  },
}
SCSS
$custom: #9c2f7c;
$custom-light: #bd71a2;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2f7c",
  "rgb": {
    "r": 156,
    "g": 47,
    "b": 124
  },
  "hsl": {
    "h": 317.615,
    "s": 53.695,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49456,
    "c": 0.16622,
    "h": 341.7
  },
  "luminance": 0.10556
}

Semantic roles & 50–950 ramp

primary
#9C2F7C
secondary
#6BBC83
accent
#DD764B
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#12080F
muted
#817B7E

Preview Lab

Preview with #9C2F7C

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

Preview Lab → · Contrast checker → · Palette generator →

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