#9F2E54#9F2E54

#9F2E54 is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.3% C 0.151 H 4.4°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#9F2E54
RGBrgb(159, 46, 84)
HSLhsl(340, 55%, 40%)
HSVhsv(340, 71%, 62%)
CMYKcmyk(0%, 71.1%, 47.2%, 37.6%)
CIE-LABlab(37.78, 49.20, 4.27)
CIE-LCHlch(37.78, 49.39, 4.96°)
OKLaboklab(48.32% 0.1504 0.0115)
OKLCHoklch(48.32% 0.151 4.4)
XYZxyz(16.8766, 9.9672, 9.4209)
Luminance0.0997 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2E54 #2E9F79
analogous
#9F2E8C #9F2E54 #9F402E
triadic
#9F2E54 #549F2E #2E549F
tetradic
#9F2E54 #8C9F2E #2E9F79 #402E9F
square
#9F2E54 #8C9F2E #2E9F79 #402E9F
split-complementary
#9F2E54 #2E9F40 #2E8C9F
monochromatic
#401322 #70203B #9F2E54 #C8426F #D67193

Accessibility & contrast

On white

7.02
#9F2E54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F2E54
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2E54#FFFFFF#000000##FFFFFF
##9F2E541.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474B55
Deuteranopia (green-blind)
#656151
Tritanopia (blue-blind)
#AD1C3E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9f2e54;
/* rgb */ color: rgb(159, 46, 84);
/* oklch */ color: oklch(48.3% 0.151 4.4);
Tailwind
colors: {
  custom: {
    50: '#c06f83',
    500: '#9f2e54',
    950: '#000000',
  },
}
SCSS
$custom: #9f2e54;
$custom-light: #c06f83;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2e54",
  "rgb": {
    "r": 159,
    "g": 46,
    "b": 84
  },
  "hsl": {
    "h": 339.823,
    "s": 55.122,
    "l": 40.196
  },
  "oklch": {
    "l": 0.48321,
    "c": 0.15083,
    "h": 4.4
  },
  "luminance": 0.09965
}

Semantic roles & 50–950 ramp

primary
#9F2E54
secondary
#6BBEA2
accent
#DEAC49
background
#FCF7F8
surface
#F8EDEF
border
#D1C8CA
text
#13080A
muted
#827B7C

Preview Lab

Preview with #9F2E54

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

Preview Lab → · Contrast checker → · Palette generator →

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