#9F266C#9F266C

#9F266C is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.4% C 0.170 H 350.0°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#9F266C
RGBrgb(159, 38, 108)
HSLhsl(325, 61%, 39%)
HSVhsv(325, 76%, 62%)
CMYKcmyk(0%, 76.1%, 32.1%, 37.6%)
CIE-LABlab(37.56, 54.67, -11.30)
CIE-LCHlch(37.56, 55.83, 348.32°)
OKLaboklab(48.42% 0.1672 -0.0295)
OKLCHoklch(48.42% 0.17 350)
XYZxyz(17.6989, 9.8419, 15.1521)
Luminance0.0984 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F266C #269F59
analogous
#95269F #9F266C #9F2630
triadic
#9F266C #6C9F26 #266C9F
tetradic
#9F266C #9F9526 #269F59 #26309F
square
#9F266C #9F9526 #269F59 #26309F
split-complementary
#9F266C #309F26 #269F95
monochromatic
#3C0E29 #6E1A4A #9F266C #CE348D #DA65A9

Accessibility & contrast

On white

7.08
#9F266C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#9F266C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F266C
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F266C#FFFFFF#000000##FFFFFF
##9F266C1.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4B6E
Deuteranopia (green-blind)
#5D6069
Tritanopia (blue-blind)
#AB1E46
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9f266c;
/* rgb */ color: rgb(159, 38, 108);
/* oklch */ color: oklch(48.4% 0.170 350.0);
Tailwind
colors: {
  custom: {
    50: '#c06d96',
    500: '#9f266c',
    950: '#000000',
  },
}
SCSS
$custom: #9f266c;
$custom-light: #c06d96;
$custom-dark: #000000;
JSON
{
  "hex": "#9f266c",
  "rgb": {
    "r": 159,
    "g": 38,
    "b": 108
  },
  "hsl": {
    "h": 325.289,
    "s": 61.421,
    "l": 38.627
  },
  "oklch": {
    "l": 0.48416,
    "c": 0.16973,
    "h": 350
  },
  "luminance": 0.0984
}

Semantic roles & 50–950 ramp

primary
#9F266C
secondary
#61C089
accent
#E58743
background
#FCF6F9
surface
#F8ECF1
border
#D1C7CB
text
#13080D
muted
#827A7E

Preview Lab

Preview with #9F266C

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

Preview Lab → · Contrast checker → · Palette generator →

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