#9F2258#9F2258

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

Color values

HEX#9F2258
RGBrgb(159, 34, 88)
HSLhsl(334, 65%, 38%)
HSVhsv(334, 79%, 62%)
CMYKcmyk(0%, 78.6%, 44.7%, 37.6%)
CIE-LABlab(36.41, 53.77, -0.28)
CIE-LCHlch(36.41, 53.78, 359.70°)
OKLaboklab(47.35% 0.1652 -0.0001)
OKLCHoklch(47.35% 0.165 0)
XYZxyz(16.6329, 9.2218, 10.1347)
Luminance0.0922 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2258 #229F69
analogous
#9F2296 #9F2258 #9F2A22
triadic
#9F2258 #589F22 #22589F
tetradic
#9F2258 #969F22 #229F69 #2A229F
square
#9F2258 #969F22 #229F69 #2A229F
split-complementary
#9F2258 #229F2A #22969F
monochromatic
#3A0C20 #6D173C #9F2258 #D12D74 #DD5F95

Accessibility & contrast

On white

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

On black

2.84
#9F2258 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9F2258#FFFFFF#000000##FFFFFF
##9F22581.007.382.847.38
#FFFFFF7.381.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4659
Deuteranopia (green-blind)
#615E55
Tritanopia (blue-blind)
#AD073A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9f2258;
/* rgb */ color: rgb(159, 34, 88);
/* oklch */ color: oklch(47.3% 0.165 360.0);
Tailwind
colors: {
  custom: {
    50: '#c16a87',
    500: '#9f2258',
    950: '#000000',
  },
}
SCSS
$custom: #9f2258;
$custom-light: #c16a87;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2258",
  "rgb": {
    "r": 159,
    "g": 34,
    "b": 88
  },
  "hsl": {
    "h": 334.08,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.47346,
    "c": 0.16522,
    "h": 360
  },
  "luminance": 0.0922
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9F2258

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

Preview Lab → · Contrast checker → · Palette generator →

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