#8D267B#8D267B

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

Color values

HEX#8D267B
RGBrgb(141, 38, 123)
HSLhsl(310, 58%, 35%)
HSVhsv(310, 73%, 55%)
CMYKcmyk(0%, 73%, 12.8%, 44.7%)
CIE-LABlab(34.96, 52.04, -25.00)
CIE-LCHlch(34.96, 57.73, 334.34°)
OKLaboklab(46.14% 0.1524 -0.0681)
OKLCHoklch(46.14% 0.167 335.9)
XYZxyz(15.2530, 8.4804, 19.5686)
Luminance0.0848 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D267B #268D38
analogous
#6B268D #8D267B #8D2648
triadic
#8D267B #7B8D26 #267B8D
tetradic
#8D267B #8D6B26 #268D38 #26488D
square
#8D267B #8D6B26 #268D38 #26488D
split-complementary
#8D267B #488D26 #268D6B
monochromatic
#2D0C27 #5D1951 #8D267B #BD33A5 #D35BBE

Accessibility & contrast

On white

7.79
#8D267B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#8D267B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D267B
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D267B#FFFFFF#000000##FFFFFF
##8D267B1.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27487D
Deuteranopia (green-blind)
#4A5879
Tritanopia (blue-blind)
#942D4D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8d267b;
/* rgb */ color: rgb(141, 38, 123);
/* oklch */ color: oklch(46.1% 0.167 335.9);
Tailwind
colors: {
  custom: {
    50: '#b26ba1',
    500: '#8d267b',
    950: '#000000',
  },
}
SCSS
$custom: #8d267b;
$custom-light: #b26ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#8d267b",
  "rgb": {
    "r": 141,
    "g": 38,
    "b": 123
  },
  "hsl": {
    "h": 310.485,
    "s": 57.542,
    "l": 35.098
  },
  "oklch": {
    "l": 0.46138,
    "c": 0.16694,
    "h": 335.9
  },
  "luminance": 0.08479
}

Semantic roles & 50–950 ramp

primary
#8D267B
secondary
#57B868
accent
#E16247
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070F
muted
#807A7E

Preview Lab

Preview with #8D267B

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

Preview Lab → · Contrast checker → · Palette generator →

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