#9F266B#9F266B

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

Color values

HEX#9F266B
RGBrgb(159, 38, 107)
HSLhsl(326, 61%, 39%)
HSVhsv(326, 76%, 62%)
CMYKcmyk(0%, 76.1%, 32.7%, 37.6%)
CIE-LABlab(37.52, 54.55, -10.73)
CIE-LCHlch(37.52, 55.60, 348.87°)
OKLaboklab(48.38% 0.1669 -0.0279)
OKLCHoklch(48.38% 0.169 350.5)
XYZxyz(17.6460, 9.8208, 14.8734)
Luminance0.0982 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F266B #269F5A
analogous
#96269F #9F266B #9F262E
triadic
#9F266B #6B9F26 #266B9F
tetradic
#9F266B #9F9626 #269F5A #262E9F
square
#9F266B #9F9626 #269F5A #262E9F
split-complementary
#9F266B #2E9F26 #269F96
monochromatic
#3C0E29 #6E1A4A #9F266B #CE348C #DA65A8

Accessibility & contrast

On white

7.09
#9F266B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#9F266B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F266B
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F266B#FFFFFF#000000##FFFFFF
##9F266B1.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4B6D
Deuteranopia (green-blind)
#5D6068
Tritanopia (blue-blind)
#AB1D45
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9f266b;
/* rgb */ color: rgb(159, 38, 107);
/* oklch */ color: oklch(48.4% 0.169 350.5);
Tailwind
colors: {
  custom: {
    50: '#c06d95',
    500: '#9f266b',
    950: '#000000',
  },
}
SCSS
$custom: #9f266b;
$custom-light: #c06d95;
$custom-dark: #000000;
JSON
{
  "hex": "#9f266b",
  "rgb": {
    "r": 159,
    "g": 38,
    "b": 107
  },
  "hsl": {
    "h": 325.785,
    "s": 61.421,
    "l": 38.627
  },
  "oklch": {
    "l": 0.48376,
    "c": 0.16921,
    "h": 350.5
  },
  "luminance": 0.09819
}

Semantic roles & 50–950 ramp

primary
#9F266B
secondary
#61C08A
accent
#E58943
background
#FCF6F9
surface
#F8ECF1
border
#D1C7CB
text
#13080D
muted
#827A7E

Preview Lab

Preview with #9F266B

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

Preview Lab → · Contrast checker → · Palette generator →

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