#9F267A#9F267A

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

Color values

HEX#9F267A
RGBrgb(159, 38, 122)
HSLhsl(318, 61%, 39%)
HSVhsv(318, 76%, 62%)
CMYKcmyk(0%, 76.1%, 23.3%, 37.6%)
CIE-LABlab(38.14, 56.45, -19.20)
CIE-LCHlch(38.14, 59.62, 341.22°)
OKLaboklab(49.03% 0.1702 -0.0514)
OKLCHoklch(49.03% 0.178 343.2)
XYZxyz(18.5047, 10.1642, 19.3959)
Luminance0.1016 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F267A #269F4B
analogous
#87269F #9F267A #9F263D
triadic
#9F267A #7A9F26 #267A9F
tetradic
#9F267A #9F8726 #269F4B #263D9F
square
#9F267A #9F8726 #269F4B #263D9F
split-complementary
#9F267A #3D9F26 #269F87
monochromatic
#3C0E2E #6E1A54 #9F267A #CE349F #DA65B6

Accessibility & contrast

On white

6.93
#9F267A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#9F267A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F267A
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F267A#FFFFFF#000000##FFFFFF
##9F267A1.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334D7C
Deuteranopia (green-blind)
#596177
Tritanopia (blue-blind)
#A9264D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9f267a;
/* rgb */ color: rgb(159, 38, 122);
/* oklch */ color: oklch(49.0% 0.178 343.2);
Tailwind
colors: {
  custom: {
    50: '#bf6da0',
    500: '#9f267a',
    950: '#000000',
  },
}
SCSS
$custom: #9f267a;
$custom-light: #bf6da0;
$custom-dark: #000000;
JSON
{
  "hex": "#9f267a",
  "rgb": {
    "r": 159,
    "g": 38,
    "b": 122
  },
  "hsl": {
    "h": 318.347,
    "s": 61.421,
    "l": 38.627
  },
  "oklch": {
    "l": 0.49026,
    "c": 0.17777,
    "h": 343.2
  },
  "luminance": 0.10162
}

Semantic roles & 50–950 ramp

primary
#9F267A
secondary
#61C07E
accent
#E57543
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9F267A

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

Preview Lab → · Contrast checker → · Palette generator →

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