#9F2E4F#9F2E4F

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

Color values

HEX#9F2E4F
RGBrgb(159, 46, 79)
HSLhsl(342, 55%, 40%)
HSVhsv(342, 71%, 62%)
CMYKcmyk(0%, 71.1%, 50.3%, 37.6%)
CIE-LABlab(37.65, 48.74, 7.27)
CIE-LCHlch(37.65, 49.28, 8.48°)
OKLaboklab(48.18% 0.1485 0.0189)
OKLCHoklch(48.18% 0.15 7.3)
XYZxyz(16.6878, 9.8916, 8.4261)
Luminance0.0989 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2E4F #2E9F7E
analogous
#9F2E87 #9F2E4F #9F462E
triadic
#9F2E4F #4F9F2E #2E4F9F
tetradic
#9F2E4F #879F2E #2E9F7E #462E9F
square
#9F2E4F #879F2E #2E9F7E #462E9F
split-complementary
#9F2E4F #2E9F46 #2E879F
monochromatic
#401320 #702037 #9F2E4F #C84269 #D6718F

Accessibility & contrast

On white

7.05
#9F2E4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#9F2E4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F2E4F
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2E4F#FFFFFF#000000##FFFFFF
##9F2E4F1.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484A50
Deuteranopia (green-blind)
#66614C
Tritanopia (blue-blind)
#AD193B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9f2e4f;
/* rgb */ color: rgb(159, 46, 79);
/* oklch */ color: oklch(48.2% 0.150 7.3);
Tailwind
colors: {
  custom: {
    50: '#c16f80',
    500: '#9f2e4f',
    950: '#000000',
  },
}
SCSS
$custom: #9f2e4f;
$custom-light: #c16f80;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2e4f",
  "rgb": {
    "r": 159,
    "g": 46,
    "b": 79
  },
  "hsl": {
    "h": 342.478,
    "s": 55.122,
    "l": 40.196
  },
  "oklch": {
    "l": 0.48175,
    "c": 0.14968,
    "h": 7.3
  },
  "luminance": 0.09889
}

Semantic roles & 50–950 ramp

primary
#9F2E4F
secondary
#6BBEA6
accent
#DEB349
background
#FCF7F7
surface
#F8EDEE
border
#D1C8C9
text
#13080A
muted
#827B7C

Preview Lab

Preview with #9F2E4F

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

Preview Lab → · Contrast checker → · Palette generator →

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