#9F2D4F#9F2D4F

#9F2D4F is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.1% C 0.151 H 7.0°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#9F2D4F
RGBrgb(159, 45, 79)
HSLhsl(342, 56%, 40%)
HSVhsv(342, 72%, 62%)
CMYKcmyk(0%, 71.7%, 50.3%, 37.6%)
CIE-LABlab(37.51, 49.13, 7.07)
CIE-LCHlch(37.51, 49.63, 8.19°)
OKLaboklab(48.07% 0.1497 0.0184)
OKLCHoklch(48.07% 0.151 7)
XYZxyz(16.6491, 9.8144, 8.4133)
Luminance0.0981 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2D4F #2D9F7D
analogous
#9F2D88 #9F2D4F #9F442D
triadic
#9F2D4F #4F9F2D #2D4F9F
tetradic
#9F2D4F #889F2D #2D9F7D #442D9F
square
#9F2D4F #889F2D #2D9F7D #442D9F
split-complementary
#9F2D4F #2D9F44 #2D889F
monochromatic
#401220 #6F2037 #9F2D4F #C94069 #D6708F

Accessibility & contrast

On white

7.09
#9F2D4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#9F2D4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F2D4F
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2D4F#FFFFFF#000000##FFFFFF
##9F2D4F1.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484A50
Deuteranopia (green-blind)
#66614C
Tritanopia (blue-blind)
#AD173B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9f2d4f;
/* rgb */ color: rgb(159, 45, 79);
/* oklch */ color: oklch(48.1% 0.151 7.0);
Tailwind
colors: {
  custom: {
    50: '#c16f80',
    500: '#9f2d4f',
    950: '#000000',
  },
}
SCSS
$custom: #9f2d4f;
$custom-light: #c16f80;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2d4f",
  "rgb": {
    "r": 159,
    "g": 45,
    "b": 79
  },
  "hsl": {
    "h": 342.105,
    "s": 55.882,
    "l": 40
  },
  "oklch": {
    "l": 0.48072,
    "c": 0.15085,
    "h": 7
  },
  "luminance": 0.09812
}

Semantic roles & 50–950 ramp

primary
#9F2D4F
secondary
#6ABEA5
accent
#DFB249
background
#FCF7F7
surface
#F8EDEE
border
#D1C8C9
text
#13080A
muted
#827B7C

Preview Lab

Preview with #9F2D4F

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

Preview Lab → · Contrast checker → · Palette generator →

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