#9F335E#9F335E

#9F335E is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.2% C 0.148 H 359.6°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#9F335E
RGBrgb(159, 51, 94)
HSLhsl(336, 51%, 41%)
HSVhsv(336, 68%, 62%)
CMYKcmyk(0%, 67.9%, 40.9%, 37.6%)
CIE-LABlab(38.81, 48.22, -0.59)
CIE-LCHlch(38.81, 48.22, 359.30°)
OKLaboklab(49.18% 0.1476 -0.001)
OKLCHoklch(49.18% 0.148 359.6)
XYZxyz(17.5035, 10.5488, 11.7019)
Luminance0.1055 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F335E #339F74
analogous
#9F3394 #9F335E #9F3E33
triadic
#9F335E #5E9F33 #335E9F
tetradic
#9F335E #949F33 #339F74 #3E339F
square
#9F335E #949F33 #339F74 #3E339F
split-complementary
#9F335E #339F3E #33949F
monochromatic
#421527 #712443 #9F335E #C54A7B #D4799D

Accessibility & contrast

On white

6.75
#9F335E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9F335E
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F335E#FFFFFF#000000##FFFFFF
##9F335E1.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484E5F
Deuteranopia (green-blind)
#65635B
Tritanopia (blue-blind)
#AC2744
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9f335e;
/* rgb */ color: rgb(159, 51, 94);
/* oklch */ color: oklch(49.2% 0.148 359.6);
Tailwind
colors: {
  custom: {
    50: '#c0728b',
    500: '#9f335e',
    950: '#000000',
  },
}
SCSS
$custom: #9f335e;
$custom-light: #c0728b;
$custom-dark: #000000;
JSON
{
  "hex": "#9f335e",
  "rgb": {
    "r": 159,
    "g": 51,
    "b": 94
  },
  "hsl": {
    "h": 336.111,
    "s": 51.429,
    "l": 41.176
  },
  "oklch": {
    "l": 0.49177,
    "c": 0.14759,
    "h": 359.6
  },
  "luminance": 0.10547
}

Semantic roles & 50–950 ramp

primary
#9F335E
secondary
#71BC9F
accent
#DBA24D
background
#FCF7F8
surface
#F8EDF0
border
#D1C8CB
text
#13080C
muted
#827B7D

Preview Lab

Preview with #9F335E

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

Preview Lab → · Contrast checker → · Palette generator →

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