#9F2F58#9F2F58

#9F2F58 is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.5% C 0.151 H 2.3°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#9F2F58
RGBrgb(159, 47, 88)
HSLhsl(338, 54%, 40%)
HSVhsv(338, 70%, 62%)
CMYKcmyk(0%, 70.4%, 44.7%, 37.6%)
CIE-LABlab(38.04, 49.21, 2.09)
CIE-LCHlch(38.04, 49.25, 2.44°)
OKLaboklab(48.55% 0.1506 0.006)
OKLCHoklch(48.55% 0.151 2.3)
XYZxyz(17.0773, 10.1107, 10.2829)
Luminance0.1011 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2F58 #2F9F76
analogous
#9F2F90 #9F2F58 #9F3E2F
triadic
#9F2F58 #589F2F #2F589F
tetradic
#9F2F58 #909F2F #2F9F76 #3E2F9F
square
#9F2F58 #909F2F #2F9F76 #3E2F9F
split-complementary
#9F2F58 #2F9F3E #2F909F
monochromatic
#411324 #70213E #9F2F58 #C84474 #D67397

Accessibility & contrast

On white

6.95
#9F2F58 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#9F2F58 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2F58
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2F58#FFFFFF#000000##FFFFFF
##9F2F581.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474C59
Deuteranopia (green-blind)
#656255
Tritanopia (blue-blind)
#AD1F40
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9f2f58;
/* rgb */ color: rgb(159, 47, 88);
/* oklch */ color: oklch(48.5% 0.151 2.3);
Tailwind
colors: {
  custom: {
    50: '#c07087',
    500: '#9f2f58',
    950: '#000000',
  },
}
SCSS
$custom: #9f2f58;
$custom-light: #c07087;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2f58",
  "rgb": {
    "r": 159,
    "g": 47,
    "b": 88
  },
  "hsl": {
    "h": 338.036,
    "s": 54.369,
    "l": 40.392
  },
  "oklch": {
    "l": 0.48549,
    "c": 0.15073,
    "h": 2.3
  },
  "luminance": 0.10109
}

Semantic roles & 50–950 ramp

primary
#9F2F58
secondary
#6DBDA0
accent
#DEA84A
background
#FCF7F8
surface
#F8EDEF
border
#D1C8CA
text
#13080B
muted
#827B7C

Preview Lab

Preview with #9F2F58

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

Preview Lab → · Contrast checker → · Palette generator →

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