#9C2F5D#9C2F5D

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

Color values

HEX#9C2F5D
RGBrgb(156, 47, 93)
HSLhsl(335, 54%, 40%)
HSVhsv(335, 70%, 61%)
CMYKcmyk(0%, 69.9%, 40.4%, 38.8%)
CIE-LABlab(37.65, 48.82, -1.72)
CIE-LCHlch(37.65, 48.85, 357.98°)
OKLaboklab(48.21% 0.1496 -0.0039)
OKLCHoklch(48.21% 0.15 358.5)
XYZxyz(16.7037, 9.8933, 11.3838)
Luminance0.0989 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2F5D #2F9C6E
analogous
#9C2F94 #9C2F5D #9C372F
triadic
#9C2F5D #5D9C2F #2F5D9C
tetradic
#9C2F5D #949C2F #2F9C6E #372F9C
square
#9C2F5D #949C2F #2F9C6E #372F9C
split-complementary
#9C2F5D #2F9C37 #2F949C
monochromatic
#3E1325 #6D2141 #9C2F5D #C6427A #D4719B

Accessibility & contrast

On white

7.05
#9C2F5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9C2F5D
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2F5D#FFFFFF#000000##FFFFFF
##9C2F5D1.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9c2f5d;
/* rgb */ color: rgb(156, 47, 93);
/* oklch */ color: oklch(48.2% 0.150 358.5);
Tailwind
colors: {
  custom: {
    50: '#be708a',
    500: '#9c2f5d',
    950: '#000000',
  },
}
SCSS
$custom: #9c2f5d;
$custom-light: #be708a;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2f5d",
  "rgb": {
    "r": 156,
    "g": 47,
    "b": 93
  },
  "hsl": {
    "h": 334.679,
    "s": 53.695,
    "l": 39.804
  },
  "oklch": {
    "l": 0.48209,
    "c": 0.14961,
    "h": 358.5
  },
  "luminance": 0.09891
}

Semantic roles & 50–950 ramp

primary
#9C2F5D
secondary
#6BBC9A
accent
#DD9F4B
background
#FCF7F8
surface
#F8EDF0
border
#D1C8CB
text
#13080B
muted
#827B7C

Preview Lab

Preview with #9C2F5D

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

Preview Lab → · Contrast checker → · Palette generator →

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