#9F2F5F#9F2F5F

#9F2F5F is a mid, vivid pink. Relative luminance 0.102; OKLCH L 48.8% C 0.153 H 358.2°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#9F2F5F
RGBrgb(159, 47, 95)
HSLhsl(334, 54%, 40%)
HSVhsv(334, 70%, 62%)
CMYKcmyk(0%, 70.4%, 40.3%, 37.6%)
CIE-LABlab(38.26, 49.94, -2.03)
CIE-LCHlch(38.26, 49.98, 357.67°)
OKLaboklab(48.78% 0.1531 -0.0047)
OKLCHoklch(48.78% 0.153 358.2)
XYZxyz(17.3813, 10.2323, 11.8840)
Luminance0.1023 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2F5F #2F9F6F
analogous
#9F2F97 #9F2F5F #9F372F
triadic
#9F2F5F #5F9F2F #2F5F9F
tetradic
#9F2F5F #979F2F #2F9F6F #372F9F
square
#9F2F5F #979F2F #2F9F6F #372F9F
split-complementary
#9F2F5F #2F9F37 #2F979F
monochromatic
#411327 #702143 #9F2F5F #C8447C #D6739D

Accessibility & contrast

On white

6.89
#9F2F5F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#9F2F5F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2F5F
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2F5F#FFFFFF#000000##FFFFFF
##9F2F5F1.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454D60
Deuteranopia (green-blind)
#63625C
Tritanopia (blue-blind)
#AC2243
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9f2f5f;
/* rgb */ color: rgb(159, 47, 95);
/* oklch */ color: oklch(48.8% 0.153 358.2);
Tailwind
colors: {
  custom: {
    50: '#c0708c',
    500: '#9f2f5f',
    950: '#000000',
  },
}
SCSS
$custom: #9f2f5f;
$custom-light: #c0708c;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2f5f",
  "rgb": {
    "r": 159,
    "g": 47,
    "b": 95
  },
  "hsl": {
    "h": 334.286,
    "s": 54.369,
    "l": 40.392
  },
  "oklch": {
    "l": 0.48779,
    "c": 0.15312,
    "h": 358.2
  },
  "luminance": 0.1023
}

Semantic roles & 50–950 ramp

primary
#9F2F5F
secondary
#6DBD9B
accent
#DE9E4A
background
#FCF7F8
surface
#F8EDF0
border
#D1C8CB
text
#13080C
muted
#827B7D

Preview Lab

Preview with #9F2F5F

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

Preview Lab → · Contrast checker → · Palette generator →

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