#9F284F#9F284F

#9F284F is a mid, vivid pink. Relative luminance 0.095; OKLCH L 47.6% C 0.156 H 5.9°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#9F284F
RGBrgb(159, 40, 79)
HSLhsl(340, 60%, 39%)
HSVhsv(340, 75%, 62%)
CMYKcmyk(0%, 74.8%, 50.3%, 37.6%)
CIE-LABlab(36.85, 50.97, 6.13)
CIE-LCHlch(36.85, 51.33, 6.86°)
OKLaboklab(47.58% 0.1556 0.0161)
OKLCHoklch(47.58% 0.156 5.9)
XYZxyz(16.4696, 9.4553, 8.3534)
Luminance0.0945 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F284F #289F78
analogous
#9F288B #9F284F #9F3D28
triadic
#9F284F #4F9F28 #284F9F
tetradic
#9F284F #8B9F28 #289F78 #3D289F
square
#9F284F #8B9F28 #289F78 #3D289F
split-complementary
#9F284F #289F3D #288B9F
monochromatic
#3D0F1E #6E1C37 #9F284F #CD3768 #D9688D

Accessibility & contrast

On white

7.26
#9F284F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#9F284F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F284F
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F284F#FFFFFF#000000##FFFFFF
##9F284F1.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454850
Deuteranopia (green-blind)
#645F4C
Tritanopia (blue-blind)
#AD0D38
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9f284f;
/* rgb */ color: rgb(159, 40, 79);
/* oklch */ color: oklch(47.6% 0.156 5.9);
Tailwind
colors: {
  custom: {
    50: '#c16c80',
    500: '#9f284f',
    950: '#000000',
  },
}
SCSS
$custom: #9f284f;
$custom-light: #c16c80;
$custom-dark: #000000;
JSON
{
  "hex": "#9f284f",
  "rgb": {
    "r": 159,
    "g": 40,
    "b": 79
  },
  "hsl": {
    "h": 340.336,
    "s": 59.799,
    "l": 39.02
  },
  "oklch": {
    "l": 0.47583,
    "c": 0.15645,
    "h": 5.9
  },
  "luminance": 0.09453
}

Semantic roles & 50–950 ramp

primary
#9F284F
secondary
#64BFA1
accent
#E3AF45
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#13080A
muted
#827B7C

Preview Lab

Preview with #9F284F

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

Preview Lab → · Contrast checker → · Palette generator →

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