#9F2B4E#9F2B4E

#9F2B4E is a mid, vivid pink. Relative luminance 0.096; OKLCH L 47.8% C 0.153 H 7.1°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#9F2B4E
RGBrgb(159, 43, 78)
HSLhsl(342, 57%, 40%)
HSVhsv(342, 73%, 62%)
CMYKcmyk(0%, 73%, 50.9%, 37.6%)
CIE-LABlab(37.21, 49.79, 7.29)
CIE-LCHlch(37.21, 50.32, 8.32°)
OKLaboklab(47.84% 0.1518 0.0189)
OKLCHoklch(47.84% 0.153 7.1)
XYZxyz(16.5385, 9.6510, 8.1982)
Luminance0.0965 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2B4E #2B9F7C
analogous
#9F2B88 #9F2B4E #9F422B
triadic
#9F2B4E #4E9F2B #2B4E9F
tetradic
#9F2B4E #889F2B #2B9F7C #422B9F
square
#9F2B4E #889F2B #2B9F7C #422B9F
split-complementary
#9F2B4E #2B9F42 #2B889F
monochromatic
#3F111F #6F1E36 #9F2B4E #CA3D67 #D76D8D

Accessibility & contrast

On white

7.17
#9F2B4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F2B4E
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2B4E#FFFFFF#000000##FFFFFF
##9F2B4E1.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47494F
Deuteranopia (green-blind)
#65604B
Tritanopia (blue-blind)
#AD1339
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9f2b4e;
/* rgb */ color: rgb(159, 43, 78);
/* oklch */ color: oklch(47.8% 0.153 7.1);
Tailwind
colors: {
  custom: {
    50: '#c16e7f',
    500: '#9f2b4e',
    950: '#000000',
  },
}
SCSS
$custom: #9f2b4e;
$custom-light: #c16e7f;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2b4e",
  "rgb": {
    "r": 159,
    "g": 43,
    "b": 78
  },
  "hsl": {
    "h": 341.897,
    "s": 57.426,
    "l": 39.608
  },
  "oklch": {
    "l": 0.47842,
    "c": 0.15293,
    "h": 7.1
  },
  "luminance": 0.09649
}

Semantic roles & 50–950 ramp

primary
#9F2B4E
secondary
#67BEA4
accent
#E1B247
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#13080A
muted
#827B7C

Preview Lab

Preview with #9F2B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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