#9F2F6A#9F2F6A

#9F2F6A is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.2% C 0.158 H 352.1°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#9F2F6A
RGBrgb(159, 47, 106)
HSLhsl(328, 54%, 40%)
HSVhsv(328, 70%, 62%)
CMYKcmyk(0%, 70.4%, 33.3%, 37.6%)
CIE-LABlab(38.63, 51.21, -8.42)
CIE-LCHlch(38.63, 51.89, 350.66°)
OKLaboklab(49.18% 0.1565 -0.0217)
OKLCHoklch(49.18% 0.158 352.1)
XYZxyz(17.9171, 10.4466, 14.7057)
Luminance0.1045 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2F6A #2F9F64
analogous
#9C2F9F #9F2F6A #9F2F32
triadic
#9F2F6A #6A9F2F #2F6A9F
tetradic
#9F2F6A #9F9C2F #2F9F64 #2F329F
square
#9F2F6A #9F9C2F #2F9F64 #2F329F
split-complementary
#9F2F6A #329F2F #2F9F9C
monochromatic
#41132B #70214B #9F2F6A #C84489 #D673A7

Accessibility & contrast

On white

6.80
#9F2F6A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#9F2F6A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2F6A
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2F6A#FFFFFF#000000##FFFFFF
##9F2F6A1.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414E6C
Deuteranopia (green-blind)
#616267
Tritanopia (blue-blind)
#AB2748
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9f2f6a;
/* rgb */ color: rgb(159, 47, 106);
/* oklch */ color: oklch(49.2% 0.158 352.1);
Tailwind
colors: {
  custom: {
    50: '#bf7094',
    500: '#9f2f6a',
    950: '#000000',
  },
}
SCSS
$custom: #9f2f6a;
$custom-light: #bf7094;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2f6a",
  "rgb": {
    "r": 159,
    "g": 47,
    "b": 106
  },
  "hsl": {
    "h": 328.393,
    "s": 54.369,
    "l": 40.392
  },
  "oklch": {
    "l": 0.49179,
    "c": 0.15798,
    "h": 352.1
  },
  "luminance": 0.10445
}

Semantic roles & 50–950 ramp

primary
#9F2F6A
secondary
#6DBD93
accent
#DE904A
background
#FCF7F9
surface
#F8EDF1
border
#D1C8CB
text
#13080D
muted
#827B7E

Preview Lab

Preview with #9F2F6A

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

Preview Lab → · Contrast checker → · Palette generator →

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