#9F2A4B#9F2A4B

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

Color values

HEX#9F2A4B
RGBrgb(159, 42, 75)
HSLhsl(343, 58%, 39%)
HSVhsv(343, 74%, 62%)
CMYKcmyk(0%, 73.6%, 52.8%, 37.6%)
CIE-LABlab(37.00, 49.90, 8.91)
CIE-LCHlch(37.00, 50.69, 10.13°)
OKLaboklab(47.66% 0.1518 0.0229)
OKLCHoklch(47.66% 0.153 8.6)
XYZxyz(16.3975, 9.5371, 7.6326)
Luminance0.0954 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2A4B #2A9F7E
analogous
#9F2A86 #9F2A4B #9F442A
triadic
#9F2A4B #4B9F2A #2A4B9F
tetradic
#9F2A4B #869F2A #2A9F7E #442A9F
square
#9F2A4B #869F2A #2A9F7E #442A9F
split-complementary
#9F2A4B #2A9F44 #2A869F
monochromatic
#3E101D #6F1D34 #9F2A4B #CB3B64 #D86B8A

Accessibility & contrast

On white

7.22
#9F2A4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#9F2A4B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F2A4B
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2A4B#FFFFFF#000000##FFFFFF
##9F2A4B1.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47484C
Deuteranopia (green-blind)
#656048
Tritanopia (blue-blind)
#AE0F38
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9f2a4b;
/* rgb */ color: rgb(159, 42, 75);
/* oklch */ color: oklch(47.7% 0.153 8.6);
Tailwind
colors: {
  custom: {
    50: '#c16d7d',
    500: '#9f2a4b',
    950: '#000000',
  },
}
SCSS
$custom: #9f2a4b;
$custom-light: #c16d7d;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2a4b",
  "rgb": {
    "r": 159,
    "g": 42,
    "b": 75
  },
  "hsl": {
    "h": 343.077,
    "s": 58.209,
    "l": 39.412
  },
  "oklch": {
    "l": 0.47661,
    "c": 0.15349,
    "h": 8.6
  },
  "luminance": 0.09535
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9F2A4B

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

Preview Lab → · Contrast checker → · Palette generator →

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