#9F285F#9F285F

#9F285F is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.1% C 0.161 H 357.1°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#9F285F
RGBrgb(159, 40, 95)
HSLhsl(332, 60%, 39%)
HSVhsv(332, 75%, 62%)
CMYKcmyk(0%, 74.8%, 40.3%, 37.6%)
CIE-LABlab(37.33, 52.53, -3.40)
CIE-LCHlch(37.33, 52.64, 356.30°)
OKLaboklab(48.1% 0.1613 -0.0083)
OKLCHoklch(48.1% 0.161 357.1)
XYZxyz(17.1236, 9.7169, 11.7981)
Luminance0.0972 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F285F #289F68
analogous
#9F289B #9F285F #9F2D28
triadic
#9F285F #5F9F28 #285F9F
tetradic
#9F285F #9B9F28 #289F68 #2D289F
square
#9F285F #9B9F28 #289F68 #2D289F
split-complementary
#9F285F #289F2D #289B9F
monochromatic
#3D0F25 #6E1C42 #9F285F #CD377C #D9689C

Accessibility & contrast

On white

7.14
#9F285F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#9F285F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F285F
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F285F#FFFFFF#000000##FFFFFF
##9F285F1.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404A60
Deuteranopia (green-blind)
#61605C
Tritanopia (blue-blind)
#AC1940
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9f285f;
/* rgb */ color: rgb(159, 40, 95);
/* oklch */ color: oklch(48.1% 0.161 357.1);
Tailwind
colors: {
  custom: {
    50: '#c06d8c',
    500: '#9f285f',
    950: '#000000',
  },
}
SCSS
$custom: #9f285f;
$custom-light: #c06d8c;
$custom-dark: #000000;
JSON
{
  "hex": "#9f285f",
  "rgb": {
    "r": 159,
    "g": 40,
    "b": 95
  },
  "hsl": {
    "h": 332.269,
    "s": 59.799,
    "l": 39.02
  },
  "oklch": {
    "l": 0.48097,
    "c": 0.16147,
    "h": 357.1
  },
  "luminance": 0.09715
}

Semantic roles & 50–950 ramp

primary
#9F285F
secondary
#64BF95
accent
#E39A45
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13080C
muted
#827B7D

Preview Lab

Preview with #9F285F

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

Preview Lab → · Contrast checker → · Palette generator →

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