#9D1F40#9D1F40

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

Color values

HEX#9D1F40
RGBrgb(157, 31, 64)
HSLhsl(344, 67%, 37%)
HSVhsv(344, 80%, 62%)
CMYKcmyk(0%, 80.3%, 59.2%, 38.4%)
CIE-LABlab(35.04, 52.10, 13.25)
CIE-LCHlch(35.04, 53.76, 14.26°)
OKLaboklab(46.06% 0.1575 0.0329)
OKLCHoklch(46.06% 0.161 11.8)
XYZxyz(15.3216, 8.5205, 5.6873)
Luminance0.0852 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1F40 #1F9D7C
analogous
#9D1F7F #9D1F40 #9D3D1F
triadic
#9D1F40 #409D1F #1F409D
tetradic
#9D1F40 #7F9D1F #1F9D7C #3D1F9D
square
#9D1F40 #7F9D1F #1F9D7C #3D1F9D
split-complementary
#9D1F40 #1F9D3D #1F7F9D
monochromatic
#370B16 #6A152B #9D1F40 #D02955 #DE587B

Accessibility & contrast

On white

7.77
#9D1F40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#9D1F40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1F40
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1F40#FFFFFF#000000##FFFFFF
##9D1F401.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424240
Deuteranopia (green-blind)
#635C3D
Tritanopia (blue-blind)
#AC002D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9d1f40;
/* rgb */ color: rgb(157, 31, 64);
/* oklch */ color: oklch(46.1% 0.161 11.8);
Tailwind
colors: {
  custom: {
    50: '#c16874',
    500: '#9d1f40',
    950: '#000000',
  },
}
SCSS
$custom: #9d1f40;
$custom-light: #c16874;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1f40",
  "rgb": {
    "r": 157,
    "g": 31,
    "b": 64
  },
  "hsl": {
    "h": 344.286,
    "s": 67.021,
    "l": 36.863
  },
  "oklch": {
    "l": 0.4606,
    "c": 0.16086,
    "h": 11.8
  },
  "luminance": 0.08518
}

Semantic roles & 50–950 ramp

primary
#9D1F40
secondary
#56C2A6
accent
#EABD3E
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#140708
muted
#827A7B

Preview Lab

Preview with #9D1F40

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

Preview Lab → · Contrast checker → · Palette generator →

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