#8E1275#8E1275

#8E1275 is a dark, vivid pink. Relative luminance 0.075; OKLCH L 44.6% C 0.183 H 338.6°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#8E1275
RGBrgb(142, 18, 117)
HSLhsl(312, 78%, 31%)
HSVhsv(312, 87%, 56%)
CMYKcmyk(0%, 87.3%, 17.6%, 44.3%)
CIE-LABlab(32.85, 57.10, -24.51)
CIE-LCHlch(32.85, 62.14, 336.77°)
OKLaboklab(44.55% 0.1699 -0.0666)
OKLCHoklch(44.55% 0.183 338.6)
XYZxyz(14.5829, 7.4692, 17.4999)
Luminance0.0747 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1275 #128E2B
analogous
#69128E #8E1275 #8E1237
triadic
#8E1275 #758E12 #12758E
tetradic
#8E1275 #8E6912 #128E2B #12378E
square
#8E1275 #8E6912 #128E2B #12378E
split-complementary
#8E1275 #378E12 #128E69
monochromatic
#21041B #580B48 #8E1275 #C419A2 #E535C2

Accessibility & contrast

On white

8.42
#8E1275 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#8E1275 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1275
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1275#FFFFFF#000000##FFFFFF
##8E12751.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4177
Deuteranopia (green-blind)
#485472
Tritanopia (blue-blind)
#971B45
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8e1275;
/* rgb */ color: rgb(142, 18, 117);
/* oklch */ color: oklch(44.6% 0.183 338.6);
Tailwind
colors: {
  custom: {
    50: '#b3639d',
    500: '#8e1275',
    950: '#000000',
  },
}
SCSS
$custom: #8e1275;
$custom-light: #b3639d;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1275",
  "rgb": {
    "r": 142,
    "g": 18,
    "b": 117
  },
  "hsl": {
    "h": 312.097,
    "s": 77.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.44554,
    "c": 0.18252,
    "h": 338.6
  },
  "luminance": 0.07468
}

Semantic roles & 50–950 ramp

primary
#8E1275
secondary
#3AC255
accent
#F45B34
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060E
muted
#817A7E

Preview Lab

Preview with #8E1275

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

Preview Lab → · Contrast checker → · Palette generator →

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