#9F267F#9F267F

#9F267F is a mid, vivid pink. Relative luminance 0.103; OKLCH L 49.3% C 0.181 H 340.9°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#9F267F
RGBrgb(159, 38, 127)
HSLhsl(316, 61%, 39%)
HSVhsv(316, 76%, 62%)
CMYKcmyk(0%, 76.1%, 20.1%, 37.6%)
CIE-LABlab(38.36, 57.13, -21.96)
CIE-LCHlch(38.36, 61.20, 338.98°)
OKLaboklab(49.26% 0.171 -0.0592)
OKLCHoklch(49.26% 0.181 340.9)
XYZxyz(18.8225, 10.2914, 21.0697)
Luminance0.1029 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F267F #269F46
analogous
#82269F #9F267F #9F2642
triadic
#9F267F #7F9F26 #267F9F
tetradic
#9F267F #9F8226 #269F46 #26429F
square
#9F267F #9F8226 #269F46 #26429F
split-complementary
#9F267F #429F26 #269F82
monochromatic
#3C0E30 #6E1A58 #9F267F #CE34A6 #DA65BB

Accessibility & contrast

On white

6.87
#9F267F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#9F267F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F267F
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F267F#FFFFFF#000000##FFFFFF
##9F267F1.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304E81
Deuteranopia (green-blind)
#57617C
Tritanopia (blue-blind)
#A92950
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9f267f;
/* rgb */ color: rgb(159, 38, 127);
/* oklch */ color: oklch(49.3% 0.181 340.9);
Tailwind
colors: {
  custom: {
    50: '#bf6da4',
    500: '#9f267f',
    950: '#000000',
  },
}
SCSS
$custom: #9f267f;
$custom-light: #bf6da4;
$custom-dark: #000000;
JSON
{
  "hex": "#9f267f",
  "rgb": {
    "r": 159,
    "g": 38,
    "b": 127
  },
  "hsl": {
    "h": 315.868,
    "s": 61.421,
    "l": 38.627
  },
  "oklch": {
    "l": 0.49262,
    "c": 0.18094,
    "h": 340.9
  },
  "luminance": 0.10289
}

Semantic roles & 50–950 ramp

primary
#9F267F
secondary
#61C07A
accent
#E56E43
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #9F267F

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

Preview Lab → · Contrast checker → · Palette generator →

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