#9F266F#9F266F

#9F266F is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.5% C 0.171 H 348.5°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#9F266F
RGBrgb(159, 38, 111)
HSLhsl(324, 61%, 39%)
HSVhsv(324, 76%, 62%)
CMYKcmyk(0%, 76.1%, 30.2%, 37.6%)
CIE-LABlab(37.67, 55.04, -13.01)
CIE-LCHlch(37.67, 56.55, 346.70°)
OKLaboklab(48.54% 0.1679 -0.0342)
OKLCHoklch(48.54% 0.171 348.5)
XYZxyz(17.8613, 9.9069, 16.0074)
Luminance0.0990 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F266F #269F56
analogous
#92269F #9F266F #9F2632
triadic
#9F266F #6F9F26 #266F9F
tetradic
#9F266F #9F9226 #269F56 #26329F
square
#9F266F #9F9226 #269F56 #26329F
split-complementary
#9F266F #329F26 #269F92
monochromatic
#3C0E2A #6E1A4D #9F266F #CE3491 #DA65AC

Accessibility & contrast

On white

7.04
#9F266F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#9F266F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F266F
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F266F#FFFFFF#000000##FFFFFF
##9F266F1.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394B71
Deuteranopia (green-blind)
#5C606C
Tritanopia (blue-blind)
#AB2047
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9f266f;
/* rgb */ color: rgb(159, 38, 111);
/* oklch */ color: oklch(48.5% 0.171 348.5);
Tailwind
colors: {
  custom: {
    50: '#c06d98',
    500: '#9f266f',
    950: '#000000',
  },
}
SCSS
$custom: #9f266f;
$custom-light: #c06d98;
$custom-dark: #000000;
JSON
{
  "hex": "#9f266f",
  "rgb": {
    "r": 159,
    "g": 38,
    "b": 111
  },
  "hsl": {
    "h": 323.802,
    "s": 61.421,
    "l": 38.627
  },
  "oklch": {
    "l": 0.4854,
    "c": 0.17133,
    "h": 348.5
  },
  "luminance": 0.09905
}

Semantic roles & 50–950 ramp

primary
#9F266F
secondary
#61C087
accent
#E58343
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13080D
muted
#827A7E

Preview Lab

Preview with #9F266F

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

Preview Lab → · Contrast checker → · Palette generator →

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