#9F2254#9F2254

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

Color values

HEX#9F2254
RGBrgb(159, 34, 84)
HSLhsl(336, 65%, 38%)
HSVhsv(336, 79%, 62%)
CMYKcmyk(0%, 78.6%, 47.2%, 37.6%)
CIE-LABlab(36.29, 53.40, 2.11)
CIE-LCHlch(36.29, 53.44, 2.27°)
OKLaboklab(47.22% 0.1638 0.006)
OKLCHoklch(47.22% 0.164 2.1)
XYZxyz(16.4717, 9.1573, 9.2860)
Luminance0.0916 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2254 #229F6D
analogous
#9F2292 #9F2254 #9F2E22
triadic
#9F2254 #549F22 #22549F
tetradic
#9F2254 #929F22 #229F6D #2E229F
square
#9F2254 #929F22 #229F6D #2E229F
split-complementary
#9F2254 #229F2E #22929F
monochromatic
#3A0C1F #6D1739 #9F2254 #D12D6F #DD5F91

Accessibility & contrast

On white

7.42
#9F2254 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F2254
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2254#FFFFFF#000000##FFFFFF
##9F22541.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404655
Deuteranopia (green-blind)
#625E51
Tritanopia (blue-blind)
#AD0338
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9f2254;
/* rgb */ color: rgb(159, 34, 84);
/* oklch */ color: oklch(47.2% 0.164 2.1);
Tailwind
colors: {
  custom: {
    50: '#c16a83',
    500: '#9f2254',
    950: '#000000',
  },
}
SCSS
$custom: #9f2254;
$custom-light: #c16a83;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2254",
  "rgb": {
    "r": 159,
    "g": 34,
    "b": 84
  },
  "hsl": {
    "h": 336,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.47216,
    "c": 0.16393,
    "h": 2.1
  },
  "luminance": 0.09155
}

Semantic roles & 50–950 ramp

primary
#9F2254
secondary
#5BC199
accent
#E8A540
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9F2254

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

Preview Lab → · Contrast checker → · Palette generator →

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