#9D314E#9D314E

#9D314E is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.1% C 0.144 H 8.2°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#9D314E
RGBrgb(157, 49, 78)
HSLhsl(344, 52%, 40%)
HSVhsv(344, 69%, 62%)
CMYKcmyk(0%, 68.8%, 50.3%, 38.4%)
CIE-LABlab(37.69, 46.81, 7.92)
CIE-LCHlch(37.69, 47.47, 9.60°)
OKLaboklab(48.13% 0.1424 0.0205)
OKLCHoklch(48.13% 0.144 8.2)
XYZxyz(16.3794, 9.9169, 8.2579)
Luminance0.0992 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D314E #319D80
analogous
#9D3184 #9D314E #9D4A31
triadic
#9D314E #4E9D31 #314E9D
tetradic
#9D314E #849D31 #319D80 #4A319D
square
#9D314E #849D31 #319D80 #4A319D
split-complementary
#9D314E #319D4A #31849D
monochromatic
#401420 #6E2237 #9D314E #C54668 #D4758E

Accessibility & contrast

On white

7.04
#9D314E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#9D314E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D314E
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D314E#FFFFFF#000000##FFFFFF
##9D314E1.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4B4F
Deuteranopia (green-blind)
#66614B
Tritanopia (blue-blind)
#AB1F3D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9d314e;
/* rgb */ color: rgb(157, 49, 78);
/* oklch */ color: oklch(48.1% 0.144 8.2);
Tailwind
colors: {
  custom: {
    50: '#bf707f',
    500: '#9d314e',
    950: '#000000',
  },
}
SCSS
$custom: #9d314e;
$custom-light: #bf707f;
$custom-dark: #000000;
JSON
{
  "hex": "#9d314e",
  "rgb": {
    "r": 157,
    "g": 49,
    "b": 78
  },
  "hsl": {
    "h": 343.889,
    "s": 52.427,
    "l": 40.392
  },
  "oklch": {
    "l": 0.48132,
    "c": 0.14386,
    "h": 8.2
  },
  "luminance": 0.09915
}

Semantic roles & 50–950 ramp

primary
#9D314E
secondary
#6EBCA7
accent
#DCB54C
background
#FCF7F7
surface
#F8EDEE
border
#D1C8C9
text
#13080A
muted
#827B7C

Preview Lab

Preview with #9D314E

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

Preview Lab → · Contrast checker → · Palette generator →

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