#9D124F#9D124F

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

Color values

HEX#9D124F
RGBrgb(157, 18, 79)
HSLhsl(334, 79%, 34%)
HSVhsv(334, 89%, 62%)
CMYKcmyk(0%, 88.5%, 49.7%, 38.4%)
CIE-LABlab(34.33, 56.43, 2.47)
CIE-LCHlch(34.33, 56.49, 2.51°)
OKLaboklab(45.66% 0.1735 0.0069)
OKLCHoklch(45.66% 0.174 2.3)
XYZxyz(15.5336, 8.1675, 8.1541)
Luminance0.0817 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D124F #129D60
analogous
#9D1295 #9D124F #9D1A12
triadic
#9D124F #4F9D12 #124F9D
tetradic
#9D124F #959D12 #129D60 #1A129D
square
#9D124F #959D12 #129D60 #1A129D
split-complementary
#9D124F #129D1A #12959D
monochromatic
#2F0518 #660C33 #9D124F #D4186B #E9408A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D124F#FFFFFF#000000##FFFFFF
##9D124F1.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)
#3A4050
Deuteranopia (green-blind)
#5E5A4C
Tritanopia (blue-blind)
#AB0030
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9d124f;
/* rgb */ color: rgb(157, 18, 79);
/* oklch */ color: oklch(45.7% 0.174 2.3);
Tailwind
colors: {
  custom: {
    50: '#c06580',
    500: '#9d124f',
    950: '#000000',
  },
}
SCSS
$custom: #9d124f;
$custom-light: #c06580;
$custom-dark: #000000;
JSON
{
  "hex": "#9d124f",
  "rgb": {
    "r": 157,
    "g": 18,
    "b": 79
  },
  "hsl": {
    "h": 333.669,
    "s": 79.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.45663,
    "c": 0.17359,
    "h": 2.3
  },
  "luminance": 0.08165
}

Semantic roles & 50–950 ramp

primary
#9D124F
secondary
#42C98E
accent
#F6A032
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13060A
muted
#827A7C

Preview Lab

Preview with #9D124F

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

Preview Lab → · Contrast checker → · Palette generator →

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