#9F2A4A#9F2A4A

#9F2A4A is a mid, vivid pink. Relative luminance 0.095; OKLCH L 47.6% C 0.153 H 9.1°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#9F2A4A
RGBrgb(159, 42, 74)
HSLhsl(344, 58%, 39%)
HSVhsv(344, 74%, 62%)
CMYKcmyk(0%, 73.6%, 53.5%, 37.6%)
CIE-LABlab(36.97, 49.82, 9.52)
CIE-LCHlch(36.97, 50.72, 10.82°)
OKLaboklab(47.63% 0.1514 0.0243)
OKLCHoklch(47.63% 0.153 9.1)
XYZxyz(16.3635, 9.5235, 7.4538)
Luminance0.0952 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2A4A #2A9F7F
analogous
#9F2A85 #9F2A4A #9F452A
triadic
#9F2A4A #4A9F2A #2A4A9F
tetradic
#9F2A4A #859F2A #2A9F7F #452A9F
square
#9F2A4A #859F2A #2A9F7F #452A9F
split-complementary
#9F2A4A #2A9F45 #2A859F
monochromatic
#3E101D #6F1D33 #9F2A4A #CB3B62 #D86B89

Accessibility & contrast

On white

7.23
#9F2A4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#9F2A4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F2A4A
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2A4A#FFFFFF#000000##FFFFFF
##9F2A4A1.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47484B
Deuteranopia (green-blind)
#666047
Tritanopia (blue-blind)
#AE0E37
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9f2a4a;
/* rgb */ color: rgb(159, 42, 74);
/* oklch */ color: oklch(47.6% 0.153 9.1);
Tailwind
colors: {
  custom: {
    50: '#c16d7c',
    500: '#9f2a4a',
    950: '#000000',
  },
}
SCSS
$custom: #9f2a4a;
$custom-light: #c16d7c;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2a4a",
  "rgb": {
    "r": 159,
    "g": 42,
    "b": 74
  },
  "hsl": {
    "h": 343.59,
    "s": 58.209,
    "l": 39.412
  },
  "oklch": {
    "l": 0.47634,
    "c": 0.15332,
    "h": 9.1
  },
  "luminance": 0.09521
}

Semantic roles & 50–950 ramp

primary
#9F2A4A
secondary
#66BFA6
accent
#E1B746
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#130809
muted
#827B7B

Preview Lab

Preview with #9F2A4A

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

Preview Lab → · Contrast checker → · Palette generator →

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