#9D1F42#9D1F42

#9D1F42 is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.1% C 0.161 H 10.8°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#9D1F42
RGBrgb(157, 31, 66)
HSLhsl(343, 67%, 37%)
HSVhsv(343, 80%, 62%)
CMYKcmyk(0%, 80.3%, 58%, 38.4%)
CIE-LABlab(35.09, 52.24, 12.01)
CIE-LCHlch(35.09, 53.61, 12.95°)
OKLaboklab(46.11% 0.1583 0.0301)
OKLCHoklch(46.11% 0.161 10.8)
XYZxyz(15.3795, 8.5437, 5.9925)
Luminance0.0854 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1F42 #1F9D7A
analogous
#9D1F81 #9D1F42 #9D3B1F
triadic
#9D1F42 #429D1F #1F429D
tetradic
#9D1F42 #819D1F #1F9D7A #3B1F9D
square
#9D1F42 #819D1F #1F9D7A #3B1F9D
split-complementary
#9D1F42 #1F9D3B #1F819D
monochromatic
#370B17 #6A152D #9D1F42 #D02957 #DE587D

Accessibility & contrast

On white

7.75
#9D1F42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#9D1F42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1F42
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1F42#FFFFFF#000000##FFFFFF
##9D1F421.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424243
Deuteranopia (green-blind)
#625C3F
Tritanopia (blue-blind)
#AC002E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9d1f42;
/* rgb */ color: rgb(157, 31, 66);
/* oklch */ color: oklch(46.1% 0.161 10.8);
Tailwind
colors: {
  custom: {
    50: '#c06876',
    500: '#9d1f42',
    950: '#000000',
  },
}
SCSS
$custom: #9d1f42;
$custom-light: #c06876;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1f42",
  "rgb": {
    "r": 157,
    "g": 31,
    "b": 66
  },
  "hsl": {
    "h": 343.333,
    "s": 67.021,
    "l": 36.863
  },
  "oklch": {
    "l": 0.46109,
    "c": 0.1611,
    "h": 10.8
  },
  "luminance": 0.08541
}

Semantic roles & 50–950 ramp

primary
#9D1F42
secondary
#56C2A4
accent
#EABA3E
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#130708
muted
#827A7B

Preview Lab

Preview with #9D1F42

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

Preview Lab → · Contrast checker → · Palette generator →

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