#8F1275#8F1275

#8F1275 is a dark, vivid pink. Relative luminance 0.076; OKLCH L 44.7% C 0.183 H 339.0°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#8F1275
RGBrgb(143, 18, 117)
HSLhsl(312, 78%, 32%)
HSVhsv(312, 87%, 56%)
CMYKcmyk(0%, 87.4%, 18.2%, 43.9%)
CIE-LABlab(33.05, 57.32, -24.20)
CIE-LCHlch(33.05, 62.22, 337.12°)
OKLaboklab(44.73% 0.1709 -0.0657)
OKLCHoklch(44.73% 0.183 339)
XYZxyz(14.7553, 7.5581, 17.5080)
Luminance0.0756 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1275 #128F2C
analogous
#6B128F #8F1275 #8F1237
triadic
#8F1275 #758F12 #12758F
tetradic
#8F1275 #8F6B12 #128F2C #12378F
square
#8F1275 #8F6B12 #128F2C #12378F
split-complementary
#8F1275 #378F12 #128F6B
monochromatic
#22041C #590B49 #8F1275 #C519A1 #E636C1

Accessibility & contrast

On white

8.36
#8F1275 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#8F1275 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1275
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1275#FFFFFF#000000##FFFFFF
##8F12751.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4277
Deuteranopia (green-blind)
#485472
Tritanopia (blue-blind)
#981A45
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8f1275;
/* rgb */ color: rgb(143, 18, 117);
/* oklch */ color: oklch(44.7% 0.183 339.0);
Tailwind
colors: {
  custom: {
    50: '#b4649d',
    500: '#8f1275',
    950: '#000000',
  },
}
SCSS
$custom: #8f1275;
$custom-light: #b4649d;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1275",
  "rgb": {
    "r": 143,
    "g": 18,
    "b": 117
  },
  "hsl": {
    "h": 312.48,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.44728,
    "c": 0.18305,
    "h": 339
  },
  "luminance": 0.07557
}

Semantic roles & 50–950 ramp

primary
#8F1275
secondary
#3AC356
accent
#F45C34
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060E
muted
#817A7E

Preview Lab

Preview with #8F1275

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

Preview Lab → · Contrast checker → · Palette generator →

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