#8F1875#8F1875

#8F1875 is a mid, vivid pink. Relative luminance 0.078; OKLCH L 45.1% C 0.178 H 339.1°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#8F1875
RGBrgb(143, 24, 117)
HSLhsl(313, 71%, 33%)
HSVhsv(313, 83%, 56%)
CMYKcmyk(0%, 83.2%, 18.2%, 43.9%)
CIE-LABlab(33.52, 55.95, -23.46)
CIE-LCHlch(33.52, 60.67, 337.26°)
OKLaboklab(45.07% 0.1667 -0.0636)
OKLCHoklch(45.07% 0.178 339.1)
XYZxyz(14.8656, 7.7788, 17.5447)
Luminance0.0778 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1875 #188F32
analogous
#6D188F #8F1875 #8F183A
triadic
#8F1875 #758F18 #18758F
tetradic
#8F1875 #8F6D18 #188F32 #183A8F
square
#8F1875 #8F6D18 #188F32 #183A8F
split-complementary
#8F1875 #3A8F18 #188F6D
monochromatic
#26061F #5B0F4A #8F1875 #C321A0 #DF42BD

Accessibility & contrast

On white

8.22
#8F1875 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#8F1875 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1875
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1875#FFFFFF#000000##FFFFFF
##8F18751.008.222.568.22
#FFFFFF8.221.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214377
Deuteranopia (green-blind)
#4A5572
Tritanopia (blue-blind)
#981E46
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8f1875;
/* rgb */ color: rgb(143, 24, 117);
/* oklch */ color: oklch(45.1% 0.178 339.1);
Tailwind
colors: {
  custom: {
    50: '#b4659d',
    500: '#8f1875',
    950: '#000000',
  },
}
SCSS
$custom: #8f1875;
$custom-light: #b4659d;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1875",
  "rgb": {
    "r": 143,
    "g": 24,
    "b": 117
  },
  "hsl": {
    "h": 313.109,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.45067,
    "c": 0.17844,
    "h": 339.1
  },
  "luminance": 0.07777
}

Semantic roles & 50–950 ramp

primary
#8F1875
secondary
#43C05E
accent
#EE613A
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060E
muted
#817A7E

Preview Lab

Preview with #8F1875

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

Preview Lab → · Contrast checker → · Palette generator →

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