#9F2562#9F2562

#9F2562 is a mid, vivid pink. Relative luminance 0.096; OKLCH L 47.9% C 0.166 H 355.0°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#9F2562
RGBrgb(159, 37, 98)
HSLhsl(330, 62%, 38%)
HSVhsv(330, 77%, 62%)
CMYKcmyk(0%, 76.7%, 38.4%, 37.6%)
CIE-LABlab(37.07, 53.86, -5.69)
CIE-LCHlch(37.07, 54.16, 353.97°)
OKLaboklab(47.94% 0.1654 -0.0143)
OKLCHoklch(47.94% 0.166 355)
XYZxyz(17.1654, 9.5780, 12.4977)
Luminance0.0958 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2562 #259F62
analogous
#9F259F #9F2562 #9F2525
triadic
#9F2562 #629F25 #25629F
tetradic
#9F2562 #9F9F25 #259F62 #25259F
square
#9F2562 #9F9F25 #259F62 #25259F
split-complementary
#9F2562 #259F25 #259F9F
monochromatic
#3C0E25 #6D1943 #9F2562 #CF3281 #DB649F

Accessibility & contrast

On white

7.20
#9F2562 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#9F2562 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F2562
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2562#FFFFFF#000000##FFFFFF
##9F25621.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4964
Deuteranopia (green-blind)
#5F5F5F
Tritanopia (blue-blind)
#AC1640
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9f2562;
/* rgb */ color: rgb(159, 37, 98);
/* oklch */ color: oklch(47.9% 0.166 355.0);
Tailwind
colors: {
  custom: {
    50: '#c06c8e',
    500: '#9f2562',
    950: '#000000',
  },
}
SCSS
$custom: #9f2562;
$custom-light: #c06c8e;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2562",
  "rgb": {
    "r": 159,
    "g": 37,
    "b": 98
  },
  "hsl": {
    "h": 330,
    "s": 62.245,
    "l": 38.431
  },
  "oklch": {
    "l": 0.47943,
    "c": 0.16602,
    "h": 355
  },
  "luminance": 0.09576
}

Semantic roles & 50–950 ramp

primary
#9F2562
secondary
#5FC090
accent
#E59442
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070C
muted
#827A7D

Preview Lab

Preview with #9F2562

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

Preview Lab → · Contrast checker → · Palette generator →

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