#9F2956#9F2956

#9F2956 is a mid, vivid pink. Relative luminance 0.096; OKLCH L 47.9% C 0.157 H 2.2°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#9F2956
RGBrgb(159, 41, 86)
HSLhsl(337, 59%, 39%)
HSVhsv(337, 74%, 62%)
CMYKcmyk(0%, 74.2%, 45.9%, 37.6%)
CIE-LABlab(37.17, 51.26, 2.11)
CIE-LCHlch(37.17, 51.30, 2.36°)
OKLaboklab(47.89% 0.1571 0.006)
OKLCHoklch(47.89% 0.157 2.2)
XYZxyz(16.7720, 9.6309, 9.7780)
Luminance0.0963 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2956 #299F72
analogous
#9F2991 #9F2956 #9F3729
triadic
#9F2956 #569F29 #29569F
tetradic
#9F2956 #919F29 #299F72 #37299F
square
#9F2956 #919F29 #299F72 #37299F
split-complementary
#9F2956 #299F37 #29919F
monochromatic
#3E1021 #6E1C3C #9F2956 #CC3971 #D96A94

Accessibility & contrast

On white

7.18
#9F2956 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#9F2956 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F2956
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2956#FFFFFF#000000##FFFFFF
##9F29561.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444957
Deuteranopia (green-blind)
#636053
Tritanopia (blue-blind)
#AD143C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9f2956;
/* rgb */ color: rgb(159, 41, 86);
/* oklch */ color: oklch(47.9% 0.157 2.2);
Tailwind
colors: {
  custom: {
    50: '#c16d85',
    500: '#9f2956',
    950: '#000000',
  },
}
SCSS
$custom: #9f2956;
$custom-light: #c16d85;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2956",
  "rgb": {
    "r": 159,
    "g": 41,
    "b": 86
  },
  "hsl": {
    "h": 337.119,
    "s": 59,
    "l": 39.216
  },
  "oklch": {
    "l": 0.47888,
    "c": 0.15719,
    "h": 2.2
  },
  "luminance": 0.09629
}

Semantic roles & 50–950 ramp

primary
#9F2956
secondary
#65BF9D
accent
#E2A646
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13080B
muted
#827B7C

Preview Lab

Preview with #9F2956

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

Preview Lab → · Contrast checker → · Palette generator →

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