#9F2E52#9F2E52

#9F2E52 is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.3% C 0.150 H 5.5°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#9F2E52
RGBrgb(159, 46, 82)
HSLhsl(341, 55%, 40%)
HSVhsv(341, 71%, 62%)
CMYKcmyk(0%, 71.1%, 48.4%, 37.6%)
CIE-LABlab(37.73, 49.01, 5.47)
CIE-LCHlch(37.73, 49.32, 6.36°)
OKLaboklab(48.26% 0.1496 0.0145)
OKLCHoklch(48.26% 0.15 5.5)
XYZxyz(16.7994, 9.9363, 9.0143)
Luminance0.0993 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2E52 #2E9F7B
analogous
#9F2E8A #9F2E52 #9F422E
triadic
#9F2E52 #529F2E #2E529F
tetradic
#9F2E52 #8A9F2E #2E9F7B #422E9F
square
#9F2E52 #8A9F2E #2E9F7B #422E9F
split-complementary
#9F2E52 #2E9F42 #2E8A9F
monochromatic
#401321 #70203A #9F2E52 #C8426D #D67191

Accessibility & contrast

On white

7.03
#9F2E52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#9F2E52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F2E52
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2E52#FFFFFF#000000##FFFFFF
##9F2E521.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484B53
Deuteranopia (green-blind)
#66614F
Tritanopia (blue-blind)
#AD1B3D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9f2e52;
/* rgb */ color: rgb(159, 46, 82);
/* oklch */ color: oklch(48.3% 0.150 5.5);
Tailwind
colors: {
  custom: {
    50: '#c16f82',
    500: '#9f2e52',
    950: '#000000',
  },
}
SCSS
$custom: #9f2e52;
$custom-light: #c16f82;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2e52",
  "rgb": {
    "r": 159,
    "g": 46,
    "b": 82
  },
  "hsl": {
    "h": 340.885,
    "s": 55.122,
    "l": 40.196
  },
  "oklch": {
    "l": 0.48261,
    "c": 0.15033,
    "h": 5.5
  },
  "luminance": 0.09934
}

Semantic roles & 50–950 ramp

primary
#9F2E52
secondary
#6BBEA3
accent
#DEAF49
background
#FCF7F7
surface
#F8EDEE
border
#D1C8C9
text
#13080A
muted
#827B7C

Preview Lab

Preview with #9F2E52

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

Preview Lab → · Contrast checker → · Palette generator →

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