#8D267A#8D267A

#8D267A is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.1% C 0.166 H 336.4°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#8D267A
RGBrgb(141, 38, 122)
HSLhsl(311, 58%, 35%)
HSVhsv(311, 73%, 55%)
CMYKcmyk(0%, 73%, 13.5%, 44.7%)
CIE-LABlab(34.91, 51.89, -24.45)
CIE-LCHlch(34.91, 57.36, 334.77°)
OKLaboklab(46.09% 0.1523 -0.0666)
OKLCHoklch(46.09% 0.166 336.4)
XYZxyz(15.1907, 8.4554, 19.2406)
Luminance0.0845 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D267A #268D39
analogous
#6C268D #8D267A #8D2646
triadic
#8D267A #7A8D26 #267A8D
tetradic
#8D267A #8D6C26 #268D39 #26468D
square
#8D267A #8D6C26 #268D39 #26468D
split-complementary
#8D267A #468D26 #268D6C
monochromatic
#2D0C27 #5D1950 #8D267A #BD33A4 #D35BBD

Accessibility & contrast

On white

7.80
#8D267A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#8D267A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D267A
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D267A#FFFFFF#000000##FFFFFF
##8D267A1.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28487C
Deuteranopia (green-blind)
#4B5878
Tritanopia (blue-blind)
#942D4D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8d267a;
/* rgb */ color: rgb(141, 38, 122);
/* oklch */ color: oklch(46.1% 0.166 336.4);
Tailwind
colors: {
  custom: {
    50: '#b26ba0',
    500: '#8d267a',
    950: '#000000',
  },
}
SCSS
$custom: #8d267a;
$custom-light: #b26ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d267a",
  "rgb": {
    "r": 141,
    "g": 38,
    "b": 122
  },
  "hsl": {
    "h": 311.068,
    "s": 57.542,
    "l": 35.098
  },
  "oklch": {
    "l": 0.46085,
    "c": 0.1662,
    "h": 336.4
  },
  "luminance": 0.08454
}

Semantic roles & 50–950 ramp

primary
#8D267A
secondary
#57B869
accent
#E16347
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070F
muted
#807A7E

Preview Lab

Preview with #8D267A

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

Preview Lab → · Contrast checker → · Palette generator →

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