#9F2F76#9F2F76

#9F2F76 is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.7% C 0.165 H 345.8°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#9F2F76
RGBrgb(159, 47, 118)
HSLhsl(322, 54%, 40%)
HSVhsv(322, 70%, 62%)
CMYKcmyk(0%, 70.4%, 25.8%, 37.6%)
CIE-LABlab(39.09, 52.74, -15.23)
CIE-LCHlch(39.09, 54.89, 343.89°)
OKLaboklab(49.67% 0.1596 -0.0404)
OKLCHoklch(49.67% 0.165 345.8)
XYZxyz(18.5854, 10.7139, 18.2252)
Luminance0.1071 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2F76 #2F9F58
analogous
#902F9F #9F2F76 #9F2F3E
triadic
#9F2F76 #769F2F #2F769F
tetradic
#9F2F76 #9F902F #2F9F58 #2F3E9F
square
#9F2F76 #9F902F #2F9F58 #2F3E9F
split-complementary
#9F2F76 #3E9F2F #2F9F90
monochromatic
#411330 #702153 #9F2F76 #C84497 #D673B1

Accessibility & contrast

On white

6.68
#9F2F76 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#9F2F76 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2F76
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2F76#FFFFFF#000000##FFFFFF
##9F2F761.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5078
Deuteranopia (green-blind)
#5D6373
Tritanopia (blue-blind)
#AA2D4E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9f2f76;
/* rgb */ color: rgb(159, 47, 118);
/* oklch */ color: oklch(49.7% 0.165 345.8);
Tailwind
colors: {
  custom: {
    50: '#bf719d',
    500: '#9f2f76',
    950: '#000000',
  },
}
SCSS
$custom: #9f2f76;
$custom-light: #bf719d;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2f76",
  "rgb": {
    "r": 159,
    "g": 47,
    "b": 118
  },
  "hsl": {
    "h": 321.964,
    "s": 54.369,
    "l": 40.392
  },
  "oklch": {
    "l": 0.49669,
    "c": 0.16461,
    "h": 345.8
  },
  "luminance": 0.10712
}

Semantic roles & 50–950 ramp

primary
#9F2F76
secondary
#6DBD8A
accent
#DE804A
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9F2F76

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

Preview Lab → · Contrast checker → · Palette generator →

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