#8D1275#8D1275

#8D1275 is a dark, vivid pink. Relative luminance 0.074; OKLCH L 44.4% C 0.182 H 338.2°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#8D1275
RGBrgb(141, 18, 117)
HSLhsl(312, 77%, 31%)
HSVhsv(312, 87%, 55%)
CMYKcmyk(0%, 87.2%, 17%, 44.7%)
CIE-LABlab(32.66, 56.89, -24.83)
CIE-LCHlch(32.66, 62.07, 336.42°)
OKLaboklab(44.38% 0.169 -0.0675)
OKLCHoklch(44.38% 0.182 338.2)
XYZxyz(14.4121, 7.3812, 17.4919)
Luminance0.0738 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1275 #128D2A
analogous
#67128D #8D1275 #8D1237
triadic
#8D1275 #758D12 #12758D
tetradic
#8D1275 #8D6712 #128D2A #12378D
square
#8D1275 #8D6712 #128D2A #12378D
split-complementary
#8D1275 #378D12 #128D67
monochromatic
#20041B #570B48 #8D1275 #C319A2 #E534C3

Accessibility & contrast

On white

8.48
#8D1275 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#8D1275 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1275
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1275#FFFFFF#000000##FFFFFF
##8D12751.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4177
Deuteranopia (green-blind)
#475372
Tritanopia (blue-blind)
#951B45
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8d1275;
/* rgb */ color: rgb(141, 18, 117);
/* oklch */ color: oklch(44.4% 0.182 338.2);
Tailwind
colors: {
  custom: {
    50: '#b2639d',
    500: '#8d1275',
    950: '#000000',
  },
}
SCSS
$custom: #8d1275;
$custom-light: #b2639d;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1275",
  "rgb": {
    "r": 141,
    "g": 18,
    "b": 117
  },
  "hsl": {
    "h": 311.707,
    "s": 77.358,
    "l": 31.176
  },
  "oklch": {
    "l": 0.44381,
    "c": 0.18199,
    "h": 338.2
  },
  "luminance": 0.0738
}

Semantic roles & 50–950 ramp

primary
#8D1275
secondary
#39C154
accent
#F45934
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #8D1275

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

Preview Lab → · Contrast checker → · Palette generator →

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