#9F1E48#9F1E48

#9F1E48 is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.6% C 0.165 H 7.9°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#9F1E48
RGBrgb(159, 30, 72)
HSLhsl(340, 68%, 37%)
HSVhsv(340, 81%, 62%)
CMYKcmyk(0%, 81.1%, 54.7%, 37.6%)
CIE-LABlab(35.54, 53.55, 8.80)
CIE-LCHlch(35.54, 54.27, 9.33°)
OKLaboklab(46.56% 0.1632 0.0225)
OKLCHoklch(46.56% 0.165 7.9)
XYZxyz(15.9336, 8.7697, 6.9833)
Luminance0.0877 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1E48 #1E9F75
analogous
#9F1E89 #9F1E48 #9F341E
triadic
#9F1E48 #489F1E #1E489F
tetradic
#9F1E48 #899F1E #1E9F75 #341E9F
square
#9F1E48 #899F1E #1E9F75 #341E9F
split-complementary
#9F1E48 #1E9F34 #1E899F
monochromatic
#380B19 #6C1431 #9F1E48 #D2285F #DF5884

Accessibility & contrast

On white

7.63
#9F1E48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#9F1E48 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1E48
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1E48#FFFFFF#000000##FFFFFF
##9F1E481.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414349
Deuteranopia (green-blind)
#635D45
Tritanopia (blue-blind)
#AE0031
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9f1e48;
/* rgb */ color: rgb(159, 30, 72);
/* oklch */ color: oklch(46.6% 0.165 7.9);
Tailwind
colors: {
  custom: {
    50: '#c2687a',
    500: '#9f1e48',
    950: '#000000',
  },
}
SCSS
$custom: #9f1e48;
$custom-light: #c2687a;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1e48",
  "rgb": {
    "r": 159,
    "g": 30,
    "b": 72
  },
  "hsl": {
    "h": 340.465,
    "s": 68.254,
    "l": 37.059
  },
  "oklch": {
    "l": 0.46558,
    "c": 0.1647,
    "h": 7.9
  },
  "luminance": 0.08767
}

Semantic roles & 50–950 ramp

primary
#9F1E48
secondary
#56C3A0
accent
#EBB23D
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#140709
muted
#827A7B

Preview Lab

Preview with #9F1E48

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

Preview Lab → · Contrast checker → · Palette generator →

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