#9F267E#9F267E

#9F267E is a mid, vivid pink. Relative luminance 0.103; OKLCH L 49.2% C 0.180 H 341.4°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#9F267E
RGBrgb(159, 38, 126)
HSLhsl(316, 61%, 39%)
HSVhsv(316, 76%, 62%)
CMYKcmyk(0%, 76.1%, 20.8%, 37.6%)
CIE-LABlab(38.31, 56.99, -21.41)
CIE-LCHlch(38.31, 60.88, 339.41°)
OKLaboklab(49.21% 0.1709 -0.0576)
OKLCHoklch(49.21% 0.18 341.4)
XYZxyz(18.7577, 10.2654, 20.7282)
Luminance0.1026 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F267E #269F47
analogous
#83269F #9F267E #9F2641
triadic
#9F267E #7E9F26 #267E9F
tetradic
#9F267E #9F8326 #269F47 #26419F
square
#9F267E #9F8326 #269F47 #26419F
split-complementary
#9F267E #419F26 #269F83
monochromatic
#3C0E30 #6E1A57 #9F267E #CE34A4 #DA65BA

Accessibility & contrast

On white

6.88
#9F267E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#9F267E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F267E
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F267E#FFFFFF#000000##FFFFFF
##9F267E1.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314E80
Deuteranopia (green-blind)
#58617B
Tritanopia (blue-blind)
#A9284F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9f267e;
/* rgb */ color: rgb(159, 38, 126);
/* oklch */ color: oklch(49.2% 0.180 341.4);
Tailwind
colors: {
  custom: {
    50: '#bf6da3',
    500: '#9f267e',
    950: '#000000',
  },
}
SCSS
$custom: #9f267e;
$custom-light: #bf6da3;
$custom-dark: #000000;
JSON
{
  "hex": "#9f267e",
  "rgb": {
    "r": 159,
    "g": 38,
    "b": 126
  },
  "hsl": {
    "h": 316.364,
    "s": 61.421,
    "l": 38.627
  },
  "oklch": {
    "l": 0.49214,
    "c": 0.1803,
    "h": 341.4
  },
  "luminance": 0.10264
}

Semantic roles & 50–950 ramp

primary
#9F267E
secondary
#61C07B
accent
#E56F43
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #9F267E

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

Preview Lab → · Contrast checker → · Palette generator →

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