#9D267A#9D267A

#9D267A is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.7% C 0.176 H 342.5°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#9D267A
RGBrgb(157, 38, 122)
HSLhsl(318, 61%, 38%)
HSVhsv(318, 76%, 62%)
CMYKcmyk(0%, 75.8%, 22.3%, 38.4%)
CIE-LABlab(37.77, 55.94, -19.79)
CIE-LCHlch(37.77, 59.34, 340.52°)
OKLaboklab(48.7% 0.1683 -0.0531)
OKLCHoklch(48.7% 0.176 342.5)
XYZxyz(18.1112, 9.9613, 19.3775)
Luminance0.0996 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D267A #269D49
analogous
#84269D #9D267A #9D263E
triadic
#9D267A #7A9D26 #267A9D
tetradic
#9D267A #9D8426 #269D49 #263E9D
square
#9D267A #9D8426 #269D49 #263E9D
split-complementary
#9D267A #3E9D26 #269D84
monochromatic
#3A0E2D #6C1A54 #9D267A #CE33A0 #D964B7

Accessibility & contrast

On white

7.02
#9D267A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#9D267A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D267A
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D267A#FFFFFF#000000##FFFFFF
##9D267A1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324C7C
Deuteranopia (green-blind)
#576077
Tritanopia (blue-blind)
#A7274D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9d267a;
/* rgb */ color: rgb(157, 38, 122);
/* oklch */ color: oklch(48.7% 0.176 342.5);
Tailwind
colors: {
  custom: {
    50: '#be6da0',
    500: '#9d267a',
    950: '#000000',
  },
}
SCSS
$custom: #9d267a;
$custom-light: #be6da0;
$custom-dark: #000000;
JSON
{
  "hex": "#9d267a",
  "rgb": {
    "r": 157,
    "g": 38,
    "b": 122
  },
  "hsl": {
    "h": 317.647,
    "s": 61.026,
    "l": 38.235
  },
  "oklch": {
    "l": 0.48695,
    "c": 0.17645,
    "h": 342.5
  },
  "luminance": 0.09959
}

Semantic roles & 50–950 ramp

primary
#9D267A
secondary
#60BF7C
accent
#E47344
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13080E
muted
#827A7E

Preview Lab

Preview with #9D267A

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

Preview Lab → · Contrast checker → · Palette generator →

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