#9F2F70#9F2F70

#9F2F70 is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.4% C 0.161 H 348.9°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#9F2F70
RGBrgb(159, 47, 112)
HSLhsl(325, 54%, 40%)
HSVhsv(325, 70%, 62%)
CMYKcmyk(0%, 70.4%, 29.6%, 37.6%)
CIE-LABlab(38.86, 51.95, -11.85)
CIE-LCHlch(38.86, 53.29, 347.15°)
OKLaboklab(49.42% 0.1581 -0.031)
OKLCHoklch(49.42% 0.161 348.9)
XYZxyz(18.2401, 10.5758, 16.4068)
Luminance0.1057 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2F70 #2F9F5E
analogous
#962F9F #9F2F70 #9F2F38
triadic
#9F2F70 #709F2F #2F709F
tetradic
#9F2F70 #9F962F #2F9F5E #2F389F
square
#9F2F70 #9F962F #2F9F5E #2F389F
split-complementary
#9F2F70 #389F2F #2F9F96
monochromatic
#41132D #70214F #9F2F70 #C84490 #D673AC

Accessibility & contrast

On white

6.74
#9F2F70 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#9F2F70 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2F70
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2F70#FFFFFF#000000##FFFFFF
##9F2F701.006.743.116.74
#FFFFFF6.741.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4F72
Deuteranopia (green-blind)
#5F636D
Tritanopia (blue-blind)
#AA2A4B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9f2f70;
/* rgb */ color: rgb(159, 47, 112);
/* oklch */ color: oklch(49.4% 0.161 348.9);
Tailwind
colors: {
  custom: {
    50: '#bf7199',
    500: '#9f2f70',
    950: '#000000',
  },
}
SCSS
$custom: #9f2f70;
$custom-light: #bf7199;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2f70",
  "rgb": {
    "r": 159,
    "g": 47,
    "b": 112
  },
  "hsl": {
    "h": 325.179,
    "s": 54.369,
    "l": 40.392
  },
  "oklch": {
    "l": 0.49417,
    "c": 0.16114,
    "h": 348.9
  },
  "luminance": 0.10574
}

Semantic roles & 50–950 ramp

primary
#9F2F70
secondary
#6DBD8E
accent
#DE884A
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080D
muted
#827B7E

Preview Lab

Preview with #9F2F70

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

Preview Lab → · Contrast checker → · Palette generator →

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