#9F267D#9F267D

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

Color values

HEX#9F267D
RGBrgb(159, 38, 125)
HSLhsl(317, 61%, 39%)
HSVhsv(317, 76%, 62%)
CMYKcmyk(0%, 76.1%, 21.4%, 37.6%)
CIE-LABlab(38.27, 56.85, -20.86)
CIE-LCHlch(38.27, 60.56, 339.86°)
OKLaboklab(49.17% 0.1707 -0.056)
OKLCHoklch(49.17% 0.18 341.8)
XYZxyz(18.6935, 10.2397, 20.3901)
Luminance0.1024 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F267D #269F48
analogous
#84269F #9F267D #9F2640
triadic
#9F267D #7D9F26 #267D9F
tetradic
#9F267D #9F8426 #269F48 #26409F
square
#9F267D #9F8426 #269F48 #26409F
split-complementary
#9F267D #409F26 #269F84
monochromatic
#3C0E2F #6E1A56 #9F267D #CE34A3 #DA65B9

Accessibility & contrast

On white

6.89
#9F267D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9F267D
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F267D#FFFFFF#000000##FFFFFF
##9F267D1.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9f267d;
/* rgb */ color: rgb(159, 38, 125);
/* oklch */ color: oklch(49.2% 0.180 341.8);
Tailwind
colors: {
  custom: {
    50: '#bf6da3',
    500: '#9f267d',
    950: '#000000',
  },
}
SCSS
$custom: #9f267d;
$custom-light: #bf6da3;
$custom-dark: #000000;
JSON
{
  "hex": "#9f267d",
  "rgb": {
    "r": 159,
    "g": 38,
    "b": 125
  },
  "hsl": {
    "h": 316.86,
    "s": 61.421,
    "l": 38.627
  },
  "oklch": {
    "l": 0.49167,
    "c": 0.17966,
    "h": 341.8
  },
  "luminance": 0.10238
}

Semantic roles & 50–950 ramp

primary
#9F267D
secondary
#61C07C
accent
#E57143
background
#FCF7FA
surface
#F8EDF3
border
#D1C8CD
text
#13080F
muted
#827B7F

Preview Lab

Preview with #9F267D

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

Preview Lab → · Contrast checker → · Palette generator →

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