#9F2259#9F2259

#9F2259 is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.4% C 0.166 H 359.4°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#9F2259
RGBrgb(159, 34, 89)
HSLhsl(334, 65%, 38%)
HSVhsv(334, 79%, 62%)
CMYKcmyk(0%, 78.6%, 44%, 37.6%)
CIE-LABlab(36.44, 53.87, -0.88)
CIE-LCHlch(36.44, 53.88, 359.07°)
OKLaboklab(47.38% 0.1656 -0.0017)
OKLCHoklch(47.38% 0.166 359.4)
XYZxyz(16.6746, 9.2385, 10.3544)
Luminance0.0924 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2259 #229F68
analogous
#9F2297 #9F2259 #9F2922
triadic
#9F2259 #599F22 #22599F
tetradic
#9F2259 #979F22 #229F68 #29229F
square
#9F2259 #979F22 #229F68 #29229F
split-complementary
#9F2259 #229F29 #22979F
monochromatic
#3A0C21 #6D173D #9F2259 #D12D75 #DD5F96

Accessibility & contrast

On white

7.38
#9F2259 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#9F2259 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F2259
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2259#FFFFFF#000000##FFFFFF
##9F22591.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F475A
Deuteranopia (green-blind)
#615E56
Tritanopia (blue-blind)
#AD083B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9f2259;
/* rgb */ color: rgb(159, 34, 89);
/* oklch */ color: oklch(47.4% 0.166 359.4);
Tailwind
colors: {
  custom: {
    50: '#c16a87',
    500: '#9f2259',
    950: '#000000',
  },
}
SCSS
$custom: #9f2259;
$custom-light: #c16a87;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2259",
  "rgb": {
    "r": 159,
    "g": 34,
    "b": 89
  },
  "hsl": {
    "h": 333.6,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.4738,
    "c": 0.16557,
    "h": 359.4
  },
  "luminance": 0.09236
}

Semantic roles & 50–950 ramp

primary
#9F2259
secondary
#5BC195
accent
#E89E40
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9F2259

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

Preview Lab → · Contrast checker → · Palette generator →

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