#9E267A#9E267A

#9E267A is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.9% C 0.177 H 342.9°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#9E267A
RGBrgb(158, 38, 122)
HSLhsl(318, 61%, 38%)
HSVhsv(318, 76%, 62%)
CMYKcmyk(0%, 75.9%, 22.8%, 38%)
CIE-LABlab(37.95, 56.19, -19.49)
CIE-LCHlch(37.95, 59.48, 340.87°)
OKLaboklab(48.86% 0.1692 -0.0522)
OKLCHoklch(48.86% 0.177 342.9)
XYZxyz(18.3072, 10.0624, 19.3867)
Luminance0.1006 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E267A #269E4A
analogous
#86269E #9E267A #9E263E
triadic
#9E267A #7A9E26 #267A9E
tetradic
#9E267A #9E8626 #269E4A #263E9E
square
#9E267A #9E8626 #269E4A #263E9E
split-complementary
#9E267A #3E9E26 #269E86
monochromatic
#3B0E2E #6D1A54 #9E267A #CE33A0 #DA65B7

Accessibility & contrast

On white

6.97
#9E267A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#9E267A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E267A
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E267A#FFFFFF#000000##FFFFFF
##9E267A1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334D7C
Deuteranopia (green-blind)
#586077
Tritanopia (blue-blind)
#A8274D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9e267a;
/* rgb */ color: rgb(158, 38, 122);
/* oklch */ color: oklch(48.9% 0.177 342.9);
Tailwind
colors: {
  custom: {
    50: '#bf6da0',
    500: '#9e267a',
    950: '#000000',
  },
}
SCSS
$custom: #9e267a;
$custom-light: #bf6da0;
$custom-dark: #000000;
JSON
{
  "hex": "#9e267a",
  "rgb": {
    "r": 158,
    "g": 38,
    "b": 122
  },
  "hsl": {
    "h": 318,
    "s": 61.224,
    "l": 38.431
  },
  "oklch": {
    "l": 0.48861,
    "c": 0.1771,
    "h": 342.9
  },
  "luminance": 0.1006
}

Semantic roles & 50–950 ramp

primary
#9E267A
secondary
#60C07D
accent
#E47443
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13080E
muted
#827A7E

Preview Lab

Preview with #9E267A

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

Preview Lab → · Contrast checker → · Palette generator →

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