#9D1846#9D1846

#9D1846 is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.7% C 0.167 H 7.6°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#9D1846
RGBrgb(157, 24, 70)
HSLhsl(339, 73%, 35%)
HSVhsv(339, 85%, 62%)
CMYKcmyk(0%, 84.7%, 55.4%, 38.4%)
CIE-LABlab(34.53, 54.41, 8.63)
CIE-LCHlch(34.53, 55.09, 9.01°)
OKLaboklab(45.73% 0.1659 0.0221)
OKLCHoklch(45.73% 0.167 7.6)
XYZxyz(15.3382, 8.2658, 6.5810)
Luminance0.0826 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1846 #189D6F
analogous
#9D1888 #9D1846 #9D2C18
triadic
#9D1846 #469D18 #18469D
tetradic
#9D1846 #889D18 #189D6F #2C189D
square
#9D1846 #889D18 #189D6F #2C189D
split-complementary
#9D1846 #189D2C #18889D
monochromatic
#330817 #68102E #9D1846 #D2205E #E44C80

Accessibility & contrast

On white

7.92
#9D1846 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#9D1846 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1846
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1846#FFFFFF#000000##FFFFFF
##9D18461.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4047
Deuteranopia (green-blind)
#605B43
Tritanopia (blue-blind)
#AC002D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9d1846;
/* rgb */ color: rgb(157, 24, 70);
/* oklch */ color: oklch(45.7% 0.167 7.6);
Tailwind
colors: {
  custom: {
    50: '#c06679',
    500: '#9d1846',
    950: '#000000',
  },
}
SCSS
$custom: #9d1846;
$custom-light: #c06679;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1846",
  "rgb": {
    "r": 157,
    "g": 24,
    "b": 70
  },
  "hsl": {
    "h": 339.248,
    "s": 73.481,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45729,
    "c": 0.16736,
    "h": 7.6
  },
  "luminance": 0.08264
}

Semantic roles & 50–950 ramp

primary
#9D1846
secondary
#4BC59B
accent
#F0B038
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#130709
muted
#827A7B

Preview Lab

Preview with #9D1846

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

Preview Lab → · Contrast checker → · Palette generator →

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