#9F267C#9F267C

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

Color values

HEX#9F267C
RGBrgb(159, 38, 124)
HSLhsl(317, 61%, 39%)
HSVhsv(317, 76%, 62%)
CMYKcmyk(0%, 76.1%, 22%, 37.6%)
CIE-LABlab(38.22, 56.72, -20.30)
CIE-LCHlch(38.22, 60.24, 340.30°)
OKLaboklab(49.12% 0.1705 -0.0545)
OKLCHoklch(49.12% 0.179 342.3)
XYZxyz(18.6299, 10.2143, 20.0553)
Luminance0.1021 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F267C #269F49
analogous
#85269F #9F267C #9F2640
triadic
#9F267C #7C9F26 #267C9F
tetradic
#9F267C #9F8526 #269F49 #26409F
square
#9F267C #9F8526 #269F49 #26409F
split-complementary
#9F267C #409F26 #269F85
monochromatic
#3C0E2F #6E1A55 #9F267C #CE34A2 #DA65B8

Accessibility & contrast

On white

6.90
#9F267C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9F267C
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F267C#FFFFFF#000000##FFFFFF
##9F267C1.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324D7E
Deuteranopia (green-blind)
#586179
Tritanopia (blue-blind)
#A9274E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9f267c;
/* rgb */ color: rgb(159, 38, 124);
/* oklch */ color: oklch(49.1% 0.179 342.3);
Tailwind
colors: {
  custom: {
    50: '#bf6da2',
    500: '#9f267c',
    950: '#000000',
  },
}
SCSS
$custom: #9f267c;
$custom-light: #bf6da2;
$custom-dark: #000000;
JSON
{
  "hex": "#9f267c",
  "rgb": {
    "r": 159,
    "g": 38,
    "b": 124
  },
  "hsl": {
    "h": 317.355,
    "s": 61.421,
    "l": 38.627
  },
  "oklch": {
    "l": 0.49119,
    "c": 0.17901,
    "h": 342.3
  },
  "luminance": 0.10212
}

Semantic roles & 50–950 ramp

primary
#9F267C
secondary
#61C07C
accent
#E57243
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080F
muted
#827B7E

Preview Lab

Preview with #9F267C

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

Preview Lab → · Contrast checker → · Palette generator →

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