#9D124E#9D124E

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

Color values

HEX#9D124E
RGBrgb(157, 18, 78)
HSLhsl(334, 79%, 34%)
HSVhsv(334, 89%, 62%)
CMYKcmyk(0%, 88.5%, 50.3%, 38.4%)
CIE-LABlab(34.30, 56.35, 3.08)
CIE-LCHlch(34.30, 56.43, 3.13°)
OKLaboklab(45.63% 0.1731 0.0084)
OKLCHoklch(45.63% 0.173 2.8)
XYZxyz(15.4975, 8.1530, 7.9639)
Luminance0.0815 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D124E #129D61
analogous
#9D1294 #9D124E #9D1C12
triadic
#9D124E #4E9D12 #124E9D
tetradic
#9D124E #949D12 #129D61 #1C129D
square
#9D124E #949D12 #129D61 #1C129D
split-complementary
#9D124E #129D1C #12949D
monochromatic
#2F0517 #660C33 #9D124E #D41869 #E94089

Accessibility & contrast

On white

7.98
#9D124E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9D124E
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D124E#FFFFFF#000000##FFFFFF
##9D124E1.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9d124e;
/* rgb */ color: rgb(157, 18, 78);
/* oklch */ color: oklch(45.6% 0.173 2.8);
Tailwind
colors: {
  custom: {
    50: '#c0657f',
    500: '#9d124e',
    950: '#000000',
  },
}
SCSS
$custom: #9d124e;
$custom-light: #c0657f;
$custom-dark: #000000;
JSON
{
  "hex": "#9d124e",
  "rgb": {
    "r": 157,
    "g": 18,
    "b": 78
  },
  "hsl": {
    "h": 334.101,
    "s": 79.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.45632,
    "c": 0.1733,
    "h": 2.8
  },
  "luminance": 0.08151
}

Semantic roles & 50–950 ramp

primary
#9D124E
secondary
#42C98F
accent
#F6A132
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13060A
muted
#827A7C

Preview Lab

Preview with #9D124E

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

Preview Lab → · Contrast checker → · Palette generator →

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