#9F2974#9F2974

#9F2974 is a mid, vivid pink. Relative luminance 0.102; OKLCH L 49.0% C 0.171 H 346.3°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#9F2974
RGBrgb(159, 41, 116)
HSLhsl(322, 59%, 39%)
HSVhsv(322, 74%, 62%)
CMYKcmyk(0%, 74.2%, 27%, 37.6%)
CIE-LABlab(38.23, 54.66, -15.30)
CIE-LCHlch(38.23, 56.76, 344.36°)
OKLaboklab(49.01% 0.1659 -0.0405)
OKLCHoklch(49.01% 0.171 346.3)
XYZxyz(18.2442, 10.2197, 17.5314)
Luminance0.1022 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2974 #299F54
analogous
#8F299F #9F2974 #9F2939
triadic
#9F2974 #749F29 #29749F
tetradic
#9F2974 #9F8F29 #299F54 #29399F
square
#9F2974 #9F8F29 #299F54 #29399F
split-complementary
#9F2974 #399F29 #299F8F
monochromatic
#3E102D #6E1C51 #9F2974 #CC3997 #D96AB0

Accessibility & contrast

On white

6.90
#9F2974 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#9F2974 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2974
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2974#FFFFFF#000000##FFFFFF
##9F29741.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394D76
Deuteranopia (green-blind)
#5C6171
Tritanopia (blue-blind)
#AA264B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9f2974;
/* rgb */ color: rgb(159, 41, 116);
/* oklch */ color: oklch(49.0% 0.171 346.3);
Tailwind
colors: {
  custom: {
    50: '#bf6e9c',
    500: '#9f2974',
    950: '#000000',
  },
}
SCSS
$custom: #9f2974;
$custom-light: #bf6e9c;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2974",
  "rgb": {
    "r": 159,
    "g": 41,
    "b": 116
  },
  "hsl": {
    "h": 321.864,
    "s": 59,
    "l": 39.216
  },
  "oklch": {
    "l": 0.49014,
    "c": 0.17077,
    "h": 346.3
  },
  "luminance": 0.10218
}

Semantic roles & 50–950 ramp

primary
#9F2974
secondary
#65BF86
accent
#E27F46
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9F2974

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

Preview Lab → · Contrast checker → · Palette generator →

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