#9D2F4E#9D2F4E

#9D2F4E is a mid, vivid pink. Relative luminance 0.098; OKLCH L 47.9% C 0.146 H 7.6°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#9D2F4E
RGBrgb(157, 47, 78)
HSLhsl(343, 54%, 40%)
HSVhsv(343, 70%, 62%)
CMYKcmyk(0%, 70.1%, 50.3%, 38.4%)
CIE-LABlab(37.40, 47.62, 7.50)
CIE-LCHlch(37.40, 48.21, 8.95°)
OKLaboklab(47.91% 0.145 0.0195)
OKLCHoklch(47.91% 0.146 7.6)
XYZxyz(16.2976, 9.7533, 8.2306)
Luminance0.0975 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2F4E #2F9D7E
analogous
#9D2F85 #9D2F4E #9D472F
triadic
#9D2F4E #4E9D2F #2F4E9D
tetradic
#9D2F4E #859D2F #2F9D7E #472F9D
square
#9D2F4E #859D2F #2F9D7E #472F9D
split-complementary
#9D2F4E #2F9D47 #2F859D
monochromatic
#3F131F #6E2137 #9D2F4E #C74368 #D5728E

Accessibility & contrast

On white

7.12
#9D2F4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#9D2F4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D2F4E
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2F4E#FFFFFF#000000##FFFFFF
##9D2F4E1.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484A4F
Deuteranopia (green-blind)
#65604B
Tritanopia (blue-blind)
#AB1B3B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9d2f4e;
/* rgb */ color: rgb(157, 47, 78);
/* oklch */ color: oklch(47.9% 0.146 7.6);
Tailwind
colors: {
  custom: {
    50: '#bf6f7f',
    500: '#9d2f4e',
    950: '#000000',
  },
}
SCSS
$custom: #9d2f4e;
$custom-light: #bf6f7f;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2f4e",
  "rgb": {
    "r": 157,
    "g": 47,
    "b": 78
  },
  "hsl": {
    "h": 343.091,
    "s": 53.922,
    "l": 40
  },
  "oklch": {
    "l": 0.47912,
    "c": 0.14629,
    "h": 7.6
  },
  "luminance": 0.09751
}

Semantic roles & 50–950 ramp

primary
#9D2F4E
secondary
#6BBCA6
accent
#DDB44B
background
#FCF7F7
surface
#F8EDEE
border
#D1C8C9
text
#13080A
muted
#827B7C

Preview Lab

Preview with #9D2F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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