#9F2155#9F2155

#9F2155 is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.2% C 0.165 H 1.4°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#9F2155
RGBrgb(159, 33, 85)
HSLhsl(335, 66%, 38%)
HSVhsv(335, 79%, 62%)
CMYKcmyk(0%, 79.2%, 46.5%, 37.6%)
CIE-LABlab(36.21, 53.79, 1.36)
CIE-LCHlch(36.21, 53.81, 1.45°)
OKLaboklab(47.17% 0.1652 0.0041)
OKLCHoklch(47.17% 0.165 1.4)
XYZxyz(16.4830, 9.1167, 9.4843)
Luminance0.0911 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2155 #219F6B
analogous
#9F2194 #9F2155 #9F2C21
triadic
#9F2155 #559F21 #21559F
tetradic
#9F2155 #949F21 #219F6B #2C219F
square
#9F2155 #949F21 #219F6B #2C219F
split-complementary
#9F2155 #219F2C #21949F
monochromatic
#3A0C1F #6C163A #9F2155 #D22C70 #DD5D92

Accessibility & contrast

On white

7.44
#9F2155 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#9F2155 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F2155
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2155#FFFFFF#000000##FFFFFF
##9F21551.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4656
Deuteranopia (green-blind)
#615E52
Tritanopia (blue-blind)
#AD0138
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9f2155;
/* rgb */ color: rgb(159, 33, 85);
/* oklch */ color: oklch(47.2% 0.165 1.4);
Tailwind
colors: {
  custom: {
    50: '#c16a84',
    500: '#9f2155',
    950: '#000000',
  },
}
SCSS
$custom: #9f2155;
$custom-light: #c16a84;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2155",
  "rgb": {
    "r": 159,
    "g": 33,
    "b": 85
  },
  "hsl": {
    "h": 335.238,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.47169,
    "c": 0.16521,
    "h": 1.4
  },
  "luminance": 0.09115
}

Semantic roles & 50–950 ramp

primary
#9F2155
secondary
#5AC297
accent
#E9A33F
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9F2155

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

Preview Lab → · Contrast checker → · Palette generator →

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