#9C2F5E#9C2F5E

#9C2F5E is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.2% C 0.150 H 357.9°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#9C2F5E
RGBrgb(156, 47, 94)
HSLhsl(334, 54%, 40%)
HSVhsv(334, 70%, 61%)
CMYKcmyk(0%, 69.9%, 39.7%, 38.8%)
CIE-LABlab(37.68, 48.93, -2.31)
CIE-LCHlch(37.68, 48.98, 357.30°)
OKLaboklab(48.24% 0.1499 -0.0054)
OKLCHoklch(48.24% 0.15 357.9)
XYZxyz(16.7483, 9.9111, 11.6186)
Luminance0.0991 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2F5E #2F9C6D
analogous
#9C2F95 #9C2F5E #9C362F
triadic
#9C2F5E #5E9C2F #2F5E9C
tetradic
#9C2F5E #959C2F #2F9C6D #362F9C
square
#9C2F5E #959C2F #2F9C6D #362F9C
split-complementary
#9C2F5E #2F9C36 #2F959C
monochromatic
#3E1325 #6D2142 #9C2F5E #C6427B #D4719C

Accessibility & contrast

On white

7.04
#9C2F5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#9C2F5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9C2F5E
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2F5E#FFFFFF#000000##FFFFFF
##9C2F5E1.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444C5F
Deuteranopia (green-blind)
#62605B
Tritanopia (blue-blind)
#A92342
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9c2f5e;
/* rgb */ color: rgb(156, 47, 94);
/* oklch */ color: oklch(48.2% 0.150 357.9);
Tailwind
colors: {
  custom: {
    50: '#be708b',
    500: '#9c2f5e',
    950: '#000000',
  },
}
SCSS
$custom: #9c2f5e;
$custom-light: #be708b;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2f5e",
  "rgb": {
    "r": 156,
    "g": 47,
    "b": 94
  },
  "hsl": {
    "h": 334.128,
    "s": 53.695,
    "l": 39.804
  },
  "oklch": {
    "l": 0.48243,
    "c": 0.15,
    "h": 357.9
  },
  "luminance": 0.09909
}

Semantic roles & 50–950 ramp

primary
#9C2F5E
secondary
#6BBC99
accent
#DD9E4B
background
#FCF7F8
surface
#F8EDF0
border
#D1C8CB
text
#13080C
muted
#827B7D

Preview Lab

Preview with #9C2F5E

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

Preview Lab → · Contrast checker → · Palette generator →

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