#9D1C3F#9D1C3F

#9D1C3F is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.8% C 0.163 H 11.8°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#9D1C3F
RGBrgb(157, 28, 63)
HSLhsl(344, 70%, 36%)
HSVhsv(344, 82%, 62%)
CMYKcmyk(0%, 82.2%, 59.9%, 38.4%)
CIE-LABlab(34.72, 52.88, 13.46)
CIE-LCHlch(34.72, 54.57, 14.28°)
OKLaboklab(45.82% 0.1598 0.0334)
OKLCHoklch(45.82% 0.163 11.8)
XYZxyz(15.2186, 8.3598, 5.5139)
Luminance0.0836 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1C3F #1C9D7A
analogous
#9D1C80 #9D1C3F #9D3A1C
triadic
#9D1C3F #3F9D1C #1C3F9D
tetradic
#9D1C3F #809D1C #1C9D7A #3A1C9D
square
#9D1C3F #809D1C #1C9D7A #3A1C9D
split-complementary
#9D1C3F #1C9D3A #1C809D
monochromatic
#350915 #69132A #9D1C3F #D12554 #E05379

Accessibility & contrast

On white

7.86
#9D1C3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#9D1C3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1C3F
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1C3F#FFFFFF#000000##FFFFFF
##9D1C3F1.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41413F
Deuteranopia (green-blind)
#625B3C
Tritanopia (blue-blind)
#AC002C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9d1c3f;
/* rgb */ color: rgb(157, 28, 63);
/* oklch */ color: oklch(45.8% 0.163 11.8);
Tailwind
colors: {
  custom: {
    50: '#c16773',
    500: '#9d1c3f',
    950: '#000000',
  },
}
SCSS
$custom: #9d1c3f;
$custom-light: #c16773;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1c3f",
  "rgb": {
    "r": 157,
    "g": 28,
    "b": 63
  },
  "hsl": {
    "h": 343.721,
    "s": 69.73,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45815,
    "c": 0.16325,
    "h": 11.8
  },
  "luminance": 0.08357
}

Semantic roles & 50–950 ramp

primary
#9D1C3F
secondary
#51C3A4
accent
#EDBC3B
background
#FCF6F6
surface
#F9EBEC
border
#D2C6C7
text
#140708
muted
#827A7B

Preview Lab

Preview with #9D1C3F

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

Preview Lab → · Contrast checker → · Palette generator →

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