#9F295B#9F295B

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

Color values

HEX#9F295B
RGBrgb(159, 41, 91)
HSLhsl(335, 59%, 39%)
HSVhsv(335, 74%, 62%)
CMYKcmyk(0%, 74.2%, 42.8%, 37.6%)
CIE-LABlab(37.32, 51.76, -0.86)
CIE-LCHlch(37.32, 51.77, 359.05°)
OKLaboklab(48.05% 0.1588 -0.0016)
OKLCHoklch(48.05% 0.159 359.4)
XYZxyz(16.9806, 9.7143, 10.8764)
Luminance0.0971 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F295B #299F6D
analogous
#9F2996 #9F295B #9F3229
triadic
#9F295B #5B9F29 #295B9F
tetradic
#9F295B #969F29 #299F6D #32299F
square
#9F295B #969F29 #299F6D #32299F
split-complementary
#9F295B #299F32 #29969F
monochromatic
#3E1023 #6E1C3F #9F295B #CC3977 #D96A99

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F295B#FFFFFF#000000##FFFFFF
##9F295B1.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)
#42495C
Deuteranopia (green-blind)
#626058
Tritanopia (blue-blind)
#AC183E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9f295b;
/* rgb */ color: rgb(159, 41, 91);
/* oklch */ color: oklch(48.1% 0.159 359.4);
Tailwind
colors: {
  custom: {
    50: '#c06d89',
    500: '#9f295b',
    950: '#000000',
  },
}
SCSS
$custom: #9f295b;
$custom-light: #c06d89;
$custom-dark: #000000;
JSON
{
  "hex": "#9f295b",
  "rgb": {
    "r": 159,
    "g": 41,
    "b": 91
  },
  "hsl": {
    "h": 334.576,
    "s": 59,
    "l": 39.216
  },
  "oklch": {
    "l": 0.48051,
    "c": 0.15884,
    "h": 359.4
  },
  "luminance": 0.09712
}

Semantic roles & 50–950 ramp

primary
#9F295B
secondary
#65BF99
accent
#E2A046
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13080B
muted
#827B7C

Preview Lab

Preview with #9F295B

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

Preview Lab → · Contrast checker → · Palette generator →

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