#9F1D53#9F1D53

#9F1D53 is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.8% C 0.168 H 1.9°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#9F1D53
RGBrgb(159, 29, 83)
HSLhsl(335, 69%, 37%)
HSVhsv(335, 82%, 62%)
CMYKcmyk(0%, 81.8%, 47.8%, 37.6%)
CIE-LABlab(35.75, 54.75, 1.98)
CIE-LCHlch(35.75, 54.79, 2.07°)
OKLaboklab(46.81% 0.1681 0.0057)
OKLCHoklch(46.81% 0.168 1.9)
XYZxyz(16.3002, 8.8764, 9.0369)
Luminance0.0887 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1D53 #1D9F69
analogous
#9F1D94 #9F1D53 #9F281D
triadic
#9F1D53 #539F1D #1D539F
tetradic
#9F1D53 #949F1D #1D9F69 #281D9F
square
#9F1D53 #949F1D #1D9F69 #281D9F
split-complementary
#9F1D53 #1D9F28 #1D949F
monochromatic
#370A1D #6B1438 #9F1D53 #D3266E #E05690

Accessibility & contrast

On white

7.57
#9F1D53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#9F1D53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1D53
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1D53#FFFFFF#000000##FFFFFF
##9F1D531.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4454
Deuteranopia (green-blind)
#605D50
Tritanopia (blue-blind)
#AD0036
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9f1d53;
/* rgb */ color: rgb(159, 29, 83);
/* oklch */ color: oklch(46.8% 0.168 1.9);
Tailwind
colors: {
  custom: {
    50: '#c16883',
    500: '#9f1d53',
    950: '#000000',
  },
}
SCSS
$custom: #9f1d53;
$custom-light: #c16883;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1d53",
  "rgb": {
    "r": 159,
    "g": 29,
    "b": 83
  },
  "hsl": {
    "h": 335.077,
    "s": 69.149,
    "l": 36.863
  },
  "oklch": {
    "l": 0.4681,
    "c": 0.16824,
    "h": 1.9
  },
  "luminance": 0.08874
}

Semantic roles & 50–950 ramp

primary
#9F1D53
secondary
#54C495
accent
#ECA33C
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9F1D53

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

Preview Lab → · Contrast checker → · Palette generator →

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