#9D124D#9D124D

#9D124D is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.6% C 0.173 H 3.3°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#9D124D
RGBrgb(157, 18, 77)
HSLhsl(335, 79%, 34%)
HSVhsv(335, 89%, 62%)
CMYKcmyk(0%, 88.5%, 51%, 38.4%)
CIE-LABlab(34.27, 56.26, 3.69)
CIE-LCHlch(34.27, 56.39, 3.76°)
OKLaboklab(45.6% 0.1727 0.01)
OKLCHoklch(45.6% 0.173 3.3)
XYZxyz(15.4619, 8.1388, 7.7765)
Luminance0.0814 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D124D #129D62
analogous
#9D1293 #9D124D #9D1C12
triadic
#9D124D #4D9D12 #124D9D
tetradic
#9D124D #939D12 #129D62 #1C129D
square
#9D124D #939D12 #129D62 #1C129D
split-complementary
#9D124D #129D1C #12939D
monochromatic
#2F0517 #660C32 #9D124D #D41868 #E94088

Accessibility & contrast

On white

7.99
#9D124D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#9D124D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D124D
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D124D#FFFFFF#000000##FFFFFF
##9D124D1.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A404E
Deuteranopia (green-blind)
#5E5A4A
Tritanopia (blue-blind)
#AB002F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9d124d;
/* rgb */ color: rgb(157, 18, 77);
/* oklch */ color: oklch(45.6% 0.173 3.3);
Tailwind
colors: {
  custom: {
    50: '#c0657e',
    500: '#9d124d',
    950: '#000000',
  },
}
SCSS
$custom: #9d124d;
$custom-light: #c0657e;
$custom-dark: #000000;
JSON
{
  "hex": "#9d124d",
  "rgb": {
    "r": 157,
    "g": 18,
    "b": 77
  },
  "hsl": {
    "h": 334.532,
    "s": 79.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.45601,
    "c": 0.17302,
    "h": 3.3
  },
  "luminance": 0.08137
}

Semantic roles & 50–950 ramp

primary
#9D124D
secondary
#42C990
accent
#F6A332
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#130609
muted
#827A7B

Preview Lab

Preview with #9D124D

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

Preview Lab → · Contrast checker → · Palette generator →

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