#9F2252#9F2252

#9F2252 is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.2% C 0.163 H 3.2°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#9F2252
RGBrgb(159, 34, 82)
HSLhsl(337, 65%, 38%)
HSVhsv(337, 79%, 62%)
CMYKcmyk(0%, 78.6%, 48.4%, 37.6%)
CIE-LABlab(36.23, 53.21, 3.32)
CIE-LCHlch(36.23, 53.32, 3.57°)
OKLaboklab(47.15% 0.1631 0.0091)
OKLCHoklch(47.15% 0.163 3.2)
XYZxyz(16.3945, 9.1264, 8.8793)
Luminance0.0912 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2252 #229F6F
analogous
#9F2290 #9F2252 #9F3022
triadic
#9F2252 #529F22 #22529F
tetradic
#9F2252 #909F22 #229F6F #30229F
square
#9F2252 #909F22 #229F6F #30229F
split-complementary
#9F2252 #229F30 #22909F
monochromatic
#3A0C1E #6D1738 #9F2252 #D12D6C #DD5F8F

Accessibility & contrast

On white

7.43
#9F2252 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#9F2252 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F2252
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2252#FFFFFF#000000##FFFFFF
##9F22521.007.432.827.43
#FFFFFF7.431.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414653
Deuteranopia (green-blind)
#625E4F
Tritanopia (blue-blind)
#AD0137
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9f2252;
/* rgb */ color: rgb(159, 34, 82);
/* oklch */ color: oklch(47.2% 0.163 3.2);
Tailwind
colors: {
  custom: {
    50: '#c16a82',
    500: '#9f2252',
    950: '#000000',
  },
}
SCSS
$custom: #9f2252;
$custom-light: #c16a82;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2252",
  "rgb": {
    "r": 159,
    "g": 34,
    "b": 82
  },
  "hsl": {
    "h": 336.96,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.47154,
    "c": 0.16336,
    "h": 3.2
  },
  "luminance": 0.09124
}

Semantic roles & 50–950 ramp

primary
#9F2252
secondary
#5BC19A
accent
#E8A740
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9F2252

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

Preview Lab → · Contrast checker → · Palette generator →

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