#9F2452#9F2452

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

Color values

HEX#9F2452
RGBrgb(159, 36, 82)
HSLhsl(338, 63%, 38%)
HSVhsv(338, 77%, 62%)
CMYKcmyk(0%, 77.4%, 48.4%, 37.6%)
CIE-LABlab(36.45, 52.58, 3.64)
CIE-LCHlch(36.45, 52.71, 3.96°)
OKLaboklab(47.32% 0.1611 0.0099)
OKLCHoklch(47.32% 0.161 3.5)
XYZxyz(16.4533, 9.2441, 8.8989)
Luminance0.0924 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2452 #249F71
analogous
#9F248F #9F2452 #9F3324
triadic
#9F2452 #529F24 #24529F
tetradic
#9F2452 #8F9F24 #249F71 #33249F
square
#9F2452 #8F9F24 #249F71 #33249F
split-complementary
#9F2452 #249F33 #248F9F
monochromatic
#3B0D1F #6D1938 #9F2452 #D0306C #DB628F

Accessibility & contrast

On white

7.37
#9F2452 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#9F2452 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F2452
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2452#FFFFFF#000000##FFFFFF
##9F24521.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424653
Deuteranopia (green-blind)
#625E4F
Tritanopia (blue-blind)
#AD0638
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9f2452;
/* rgb */ color: rgb(159, 36, 82);
/* oklch */ color: oklch(47.3% 0.161 3.5);
Tailwind
colors: {
  custom: {
    50: '#c16b82',
    500: '#9f2452',
    950: '#000000',
  },
}
SCSS
$custom: #9f2452;
$custom-light: #c16b82;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2452",
  "rgb": {
    "r": 159,
    "g": 36,
    "b": 82
  },
  "hsl": {
    "h": 337.561,
    "s": 63.077,
    "l": 38.235
  },
  "oklch": {
    "l": 0.47318,
    "c": 0.16138,
    "h": 3.5
  },
  "luminance": 0.09242
}

Semantic roles & 50–950 ramp

primary
#9F2452
secondary
#5EC19C
accent
#E6A942
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9F2452

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

Preview Lab → · Contrast checker → · Palette generator →

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