#9F2F6F#9F2F6F

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

Color values

HEX#9F2F6F
RGBrgb(159, 47, 111)
HSLhsl(326, 54%, 40%)
HSVhsv(326, 70%, 62%)
CMYKcmyk(0%, 70.4%, 30.2%, 37.6%)
CIE-LABlab(38.82, 51.82, -11.28)
CIE-LCHlch(38.82, 53.04, 347.72°)
OKLaboklab(49.38% 0.1579 -0.0295)
OKLCHoklch(49.38% 0.161 349.4)
XYZxyz(18.1847, 10.5537, 16.1152)
Luminance0.1055 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2F6F #2F9F5F
analogous
#972F9F #9F2F6F #9F2F37
triadic
#9F2F6F #6F9F2F #2F6F9F
tetradic
#9F2F6F #9F972F #2F9F5F #2F379F
square
#9F2F6F #9F972F #2F9F5F #2F379F
split-complementary
#9F2F6F #379F2F #2F9F97
monochromatic
#41132D #70214E #9F2F6F #C8448F #D673AB

Accessibility & contrast

On white

6.75
#9F2F6F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9F2F6F
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2F6F#FFFFFF#000000##FFFFFF
##9F2F6F1.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4F71
Deuteranopia (green-blind)
#5F636C
Tritanopia (blue-blind)
#AB2A4B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9f2f6f;
/* rgb */ color: rgb(159, 47, 111);
/* oklch */ color: oklch(49.4% 0.161 349.4);
Tailwind
colors: {
  custom: {
    50: '#bf7198',
    500: '#9f2f6f',
    950: '#000000',
  },
}
SCSS
$custom: #9f2f6f;
$custom-light: #bf7198;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2f6f",
  "rgb": {
    "r": 159,
    "g": 47,
    "b": 111
  },
  "hsl": {
    "h": 325.714,
    "s": 54.369,
    "l": 40.392
  },
  "oklch": {
    "l": 0.49376,
    "c": 0.16059,
    "h": 349.4
  },
  "luminance": 0.10552
}

Semantic roles & 50–950 ramp

primary
#9F2F6F
secondary
#6DBD8F
accent
#DE894A
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080D
muted
#827B7E

Preview Lab

Preview with #9F2F6F

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

Preview Lab → · Contrast checker → · Palette generator →

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