#9F2255#9F2255

#9F2255 is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.2% C 0.164 H 1.6°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#9F2255
RGBrgb(159, 34, 85)
HSLhsl(336, 65%, 38%)
HSVhsv(336, 79%, 62%)
CMYKcmyk(0%, 78.6%, 46.5%, 37.6%)
CIE-LABlab(36.32, 53.49, 1.51)
CIE-LCHlch(36.32, 53.51, 1.62°)
OKLaboklab(47.25% 0.1642 0.0045)
OKLCHoklch(47.25% 0.164 1.6)
XYZxyz(16.5111, 9.1731, 9.4937)
Luminance0.0917 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2255 #229F6C
analogous
#9F2293 #9F2255 #9F2D22
triadic
#9F2255 #559F22 #22559F
tetradic
#9F2255 #939F22 #229F6C #2D229F
square
#9F2255 #939F22 #229F6C #2D229F
split-complementary
#9F2255 #229F2D #22939F
monochromatic
#3A0C1F #6D173A #9F2255 #D12D70 #DD5F92

Accessibility & contrast

On white

7.41
#9F2255 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#9F2255 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F2255
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2255#FFFFFF#000000##FFFFFF
##9F22551.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404656
Deuteranopia (green-blind)
#615E52
Tritanopia (blue-blind)
#AD0439
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9f2255;
/* rgb */ color: rgb(159, 34, 85);
/* oklch */ color: oklch(47.2% 0.164 1.6);
Tailwind
colors: {
  custom: {
    50: '#c16a84',
    500: '#9f2255',
    950: '#000000',
  },
}
SCSS
$custom: #9f2255;
$custom-light: #c16a84;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2255",
  "rgb": {
    "r": 159,
    "g": 34,
    "b": 85
  },
  "hsl": {
    "h": 335.52,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.47248,
    "c": 0.16424,
    "h": 1.6
  },
  "luminance": 0.09171
}

Semantic roles & 50–950 ramp

primary
#9F2255
secondary
#5BC198
accent
#E8A340
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9F2255

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

Preview Lab → · Contrast checker → · Palette generator →

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