#9F2352#9F2352

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

Color values

HEX#9F2352
RGBrgb(159, 35, 82)
HSLhsl(337, 64%, 38%)
HSVhsv(337, 78%, 62%)
CMYKcmyk(0%, 78%, 48.4%, 37.6%)
CIE-LABlab(36.34, 52.90, 3.47)
CIE-LCHlch(36.34, 53.02, 3.76°)
OKLaboklab(47.24% 0.1621 0.0095)
OKLCHoklch(47.24% 0.162 3.3)
XYZxyz(16.4235, 9.1844, 8.8890)
Luminance0.0918 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2352 #239F70
analogous
#9F2390 #9F2352 #9F3223
triadic
#9F2352 #529F23 #23529F
tetradic
#9F2352 #909F23 #239F70 #32239F
square
#9F2352 #909F23 #239F70 #32239F
split-complementary
#9F2352 #239F32 #23909F
monochromatic
#3B0D1E #6D1838 #9F2352 #D12E6C #DC608F

Accessibility & contrast

On white

7.40
#9F2352 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F2352
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2352#FFFFFF#000000##FFFFFF
##9F23521.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9f2352;
/* rgb */ color: rgb(159, 35, 82);
/* oklch */ color: oklch(47.2% 0.162 3.3);
Tailwind
colors: {
  custom: {
    50: '#c16b82',
    500: '#9f2352',
    950: '#000000',
  },
}
SCSS
$custom: #9f2352;
$custom-light: #c16b82;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2352",
  "rgb": {
    "r": 159,
    "g": 35,
    "b": 82
  },
  "hsl": {
    "h": 337.258,
    "s": 63.918,
    "l": 38.039
  },
  "oklch": {
    "l": 0.47235,
    "c": 0.16238,
    "h": 3.3
  },
  "luminance": 0.09182
}

Semantic roles & 50–950 ramp

primary
#9F2352
secondary
#5DC19B
accent
#E7A841
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9F2352

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

Preview Lab → · Contrast checker → · Palette generator →

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