#9F2247#9F2247

#9F2247 is a mid, vivid pink. Relative luminance 0.090; OKLCH L 46.8% C 0.161 H 9.1°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#9F2247
RGBrgb(159, 34, 71)
HSLhsl(342, 65%, 38%)
HSVhsv(342, 79%, 62%)
CMYKcmyk(0%, 78.6%, 55.3%, 37.6%)
CIE-LABlab(35.93, 52.29, 10.00)
CIE-LCHlch(35.93, 53.24, 10.82°)
OKLaboklab(46.84% 0.1589 0.0254)
OKLCHoklch(46.84% 0.161 9.1)
XYZxyz(16.0090, 8.9722, 6.8488)
Luminance0.0897 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2247 #229F7A
analogous
#9F2285 #9F2247 #9F3B22
triadic
#9F2247 #479F22 #22479F
tetradic
#9F2247 #859F22 #229F7A #3B229F
square
#9F2247 #859F22 #229F7A #3B229F
split-complementary
#9F2247 #229F3B #22859F
monochromatic
#3A0C1A #6D1730 #9F2247 #D12D5E #DD5F84

Accessibility & contrast

On white

7.52
#9F2247 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#9F2247 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F2247
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2247#FFFFFF#000000##FFFFFF
##9F22471.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434448
Deuteranopia (green-blind)
#645E44
Tritanopia (blue-blind)
#AE0032
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9f2247;
/* rgb */ color: rgb(159, 34, 71);
/* oklch */ color: oklch(46.8% 0.161 9.1);
Tailwind
colors: {
  custom: {
    50: '#c26a79',
    500: '#9f2247',
    950: '#000000',
  },
}
SCSS
$custom: #9f2247;
$custom-light: #c26a79;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2247",
  "rgb": {
    "r": 159,
    "g": 34,
    "b": 71
  },
  "hsl": {
    "h": 342.24,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.4684,
    "c": 0.16095,
    "h": 9.1
  },
  "luminance": 0.0897
}

Semantic roles & 50–950 ramp

primary
#9F2247
secondary
#5BC1A3
accent
#E8B640
background
#FCF6F7
surface
#F9ECED
border
#D2C7C8
text
#140709
muted
#827A7B

Preview Lab

Preview with #9F2247

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

Preview Lab → · Contrast checker → · Palette generator →

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