#9F2D6F#9F2D6F

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

Color values

HEX#9F2D6F
RGBrgb(159, 45, 111)
HSLhsl(325, 56%, 40%)
HSVhsv(325, 72%, 62%)
CMYKcmyk(0%, 71.7%, 30.2%, 37.6%)
CIE-LABlab(38.55, 52.58, -11.69)
CIE-LCHlch(38.55, 53.87, 347.47°)
OKLaboklab(49.18% 0.1602 -0.0306)
OKLCHoklch(49.18% 0.163 349.2)
XYZxyz(18.1066, 10.3974, 16.0892)
Luminance0.1040 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2D6F #2D9F5D
analogous
#962D9F #9F2D6F #9F2D36
triadic
#9F2D6F #6F9F2D #2D6F9F
tetradic
#9F2D6F #9F962D #2D9F5D #2D369F
square
#9F2D6F #9F962D #2D9F5D #2D369F
split-complementary
#9F2D6F #369F2D #2D9F96
monochromatic
#40122C #6F204E #9F2D6F #C9408F #D670AB

Accessibility & contrast

On white

6.82
#9F2D6F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#9F2D6F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2D6F
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2D6F#FFFFFF#000000##FFFFFF
##9F2D6F1.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4E71
Deuteranopia (green-blind)
#5F626C
Tritanopia (blue-blind)
#AB274A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9f2d6f;
/* rgb */ color: rgb(159, 45, 111);
/* oklch */ color: oklch(49.2% 0.163 349.2);
Tailwind
colors: {
  custom: {
    50: '#bf7098',
    500: '#9f2d6f',
    950: '#000000',
  },
}
SCSS
$custom: #9f2d6f;
$custom-light: #bf7098;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2d6f",
  "rgb": {
    "r": 159,
    "g": 45,
    "b": 111
  },
  "hsl": {
    "h": 325.263,
    "s": 55.882,
    "l": 40
  },
  "oklch": {
    "l": 0.49177,
    "c": 0.16312,
    "h": 349.2
  },
  "luminance": 0.10395
}

Semantic roles & 50–950 ramp

primary
#9F2D6F
secondary
#6ABE8D
accent
#DF8849
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080D
muted
#827B7E

Preview Lab

Preview with #9F2D6F

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

Preview Lab → · Contrast checker → · Palette generator →

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