#9D1845#9D1845

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

Color values

HEX#9D1845
RGBrgb(157, 24, 69)
HSLhsl(340, 73%, 35%)
HSVhsv(340, 85%, 62%)
CMYKcmyk(0%, 84.7%, 56.1%, 38.4%)
CIE-LABlab(34.50, 54.34, 9.25)
CIE-LCHlch(34.50, 55.12, 9.66°)
OKLaboklab(45.7% 0.1655 0.0235)
OKLCHoklch(45.7% 0.167 8.1)
XYZxyz(15.3069, 8.2533, 6.4161)
Luminance0.0825 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1845 #189D70
analogous
#9D1888 #9D1845 #9D2D18
triadic
#9D1845 #459D18 #18459D
tetradic
#9D1845 #889D18 #189D70 #2D189D
square
#9D1845 #889D18 #189D70 #2D189D
split-complementary
#9D1845 #189D2D #18889D
monochromatic
#330816 #68102E #9D1845 #D2205C #E44C7F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D1845#FFFFFF#000000##FFFFFF
##9D18451.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)
#3E4046
Deuteranopia (green-blind)
#605A42
Tritanopia (blue-blind)
#AC002D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9d1845;
/* rgb */ color: rgb(157, 24, 69);
/* oklch */ color: oklch(45.7% 0.167 8.1);
Tailwind
colors: {
  custom: {
    50: '#c16678',
    500: '#9d1845',
    950: '#000000',
  },
}
SCSS
$custom: #9d1845;
$custom-light: #c16678;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1845",
  "rgb": {
    "r": 157,
    "g": 24,
    "b": 69
  },
  "hsl": {
    "h": 339.699,
    "s": 73.481,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45702,
    "c": 0.16718,
    "h": 8.1
  },
  "luminance": 0.08251
}

Semantic roles & 50–950 ramp

primary
#9D1845
secondary
#4BC59C
accent
#F0B238
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#140708
muted
#827A7B

Preview Lab

Preview with #9D1845

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

Preview Lab → · Contrast checker → · Palette generator →

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