#9F267B#9F267B

#9F267B is a mid, vivid pink. Relative luminance 0.102; OKLCH L 49.1% C 0.178 H 342.7°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#9F267B
RGBrgb(159, 38, 123)
HSLhsl(318, 61%, 39%)
HSVhsv(318, 76%, 62%)
CMYKcmyk(0%, 76.1%, 22.6%, 37.6%)
CIE-LABlab(38.18, 56.58, -19.75)
CIE-LCHlch(38.18, 59.93, 340.76°)
OKLaboklab(49.07% 0.1704 -0.0529)
OKLCHoklch(49.07% 0.178 342.7)
XYZxyz(18.5670, 10.1892, 19.7239)
Luminance0.1019 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F267B #269F4A
analogous
#86269F #9F267B #9F263E
triadic
#9F267B #7B9F26 #267B9F
tetradic
#9F267B #9F8626 #269F4A #263E9F
square
#9F267B #9F8626 #269F4A #263E9F
split-complementary
#9F267B #3E9F26 #269F86
monochromatic
#3C0E2F #6E1A55 #9F267B #CE34A0 #DA65B7

Accessibility & contrast

On white

6.91
#9F267B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#9F267B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F267B
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F267B#FFFFFF#000000##FFFFFF
##9F267B1.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334D7D
Deuteranopia (green-blind)
#596178
Tritanopia (blue-blind)
#A9274E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9f267b;
/* rgb */ color: rgb(159, 38, 123);
/* oklch */ color: oklch(49.1% 0.178 342.7);
Tailwind
colors: {
  custom: {
    50: '#bf6da1',
    500: '#9f267b',
    950: '#000000',
  },
}
SCSS
$custom: #9f267b;
$custom-light: #bf6da1;
$custom-dark: #000000;
JSON
{
  "hex": "#9f267b",
  "rgb": {
    "r": 159,
    "g": 38,
    "b": 123
  },
  "hsl": {
    "h": 317.851,
    "s": 61.421,
    "l": 38.627
  },
  "oklch": {
    "l": 0.49072,
    "c": 0.17839,
    "h": 342.7
  },
  "luminance": 0.10187
}

Semantic roles & 50–950 ramp

primary
#9F267B
secondary
#61C07D
accent
#E57343
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080F
muted
#827B7E

Preview Lab

Preview with #9F267B

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

Preview Lab → · Contrast checker → · Palette generator →

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