#9F335D#9F335D

#9F335D is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.1% C 0.147 H 0.2°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#9F335D
RGBrgb(159, 51, 93)
HSLhsl(337, 51%, 41%)
HSVhsv(337, 68%, 62%)
CMYKcmyk(0%, 67.9%, 41.5%, 37.6%)
CIE-LABlab(38.78, 48.11, -0.00)
CIE-LCHlch(38.78, 48.11, 360.00°)
OKLaboklab(49.14% 0.1472 0.0006)
OKLCHoklch(49.14% 0.147 0.2)
XYZxyz(17.4589, 10.5310, 11.4671)
Luminance0.1053 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F335D #339F75
analogous
#9F3393 #9F335D #9F3F33
triadic
#9F335D #5D9F33 #335D9F
tetradic
#9F335D #939F33 #339F75 #3F339F
square
#9F335D #939F33 #339F75 #3F339F
split-complementary
#9F335D #339F3F #33939F
monochromatic
#421527 #712442 #9F335D #C54A7A #D4799C

Accessibility & contrast

On white

6.76
#9F335D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#9F335D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F335D
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F335D#FFFFFF#000000##FFFFFF
##9F335D1.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484E5E
Deuteranopia (green-blind)
#65635A
Tritanopia (blue-blind)
#AC2644
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9f335d;
/* rgb */ color: rgb(159, 51, 93);
/* oklch */ color: oklch(49.1% 0.147 0.2);
Tailwind
colors: {
  custom: {
    50: '#c0728a',
    500: '#9f335d',
    950: '#000000',
  },
}
SCSS
$custom: #9f335d;
$custom-light: #c0728a;
$custom-dark: #000000;
JSON
{
  "hex": "#9f335d",
  "rgb": {
    "r": 159,
    "g": 51,
    "b": 93
  },
  "hsl": {
    "h": 336.667,
    "s": 51.429,
    "l": 41.176
  },
  "oklch": {
    "l": 0.49144,
    "c": 0.14724,
    "h": 0.2
  },
  "luminance": 0.10529
}

Semantic roles & 50–950 ramp

primary
#9F335D
secondary
#71BC9F
accent
#DBA44D
background
#FCF7F8
surface
#F8EDF0
border
#D1C8CB
text
#13080B
muted
#827B7C

Preview Lab

Preview with #9F335D

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

Preview Lab → · Contrast checker → · Palette generator →

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