#8F2175#8F2175

#8F2175 is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.7% C 0.170 H 339.4°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#8F2175
RGBrgb(143, 33, 117)
HSLhsl(314, 63%, 35%)
HSVhsv(314, 77%, 56%)
CMYKcmyk(0%, 76.9%, 18.2%, 43.9%)
CIE-LABlab(34.42, 53.36, -22.05)
CIE-LCHlch(34.42, 57.73, 337.55°)
OKLaboklab(45.72% 0.1589 -0.0596)
OKLCHoklch(45.72% 0.17 339.4)
XYZxyz(15.0828, 8.2132, 17.6171)
Luminance0.0821 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2175 #218F3B
analogous
#72218F #8F2175 #8F213E
triadic
#8F2175 #758F21 #21758F
tetradic
#8F2175 #8F7221 #218F3B #213E8F
square
#8F2175 #8F7221 #218F3B #213E8F
split-complementary
#8F2175 #3E8F21 #218F72
monochromatic
#2C0A24 #5D164C #8F2175 #C12C9E #D753B8

Accessibility & contrast

On white

7.95
#8F2175 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#8F2175 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2175
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2175#FFFFFF#000000##FFFFFF
##8F21751.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284677
Deuteranopia (green-blind)
#4D5772
Tritanopia (blue-blind)
#982549
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8f2175;
/* rgb */ color: rgb(143, 33, 117);
/* oklch */ color: oklch(45.7% 0.170 339.4);
Tailwind
colors: {
  custom: {
    50: '#b3699d',
    500: '#8f2175',
    950: '#000000',
  },
}
SCSS
$custom: #8f2175;
$custom-light: #b3699d;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2175",
  "rgb": {
    "r": 143,
    "g": 33,
    "b": 117
  },
  "hsl": {
    "h": 314.182,
    "s": 62.5,
    "l": 34.51
  },
  "oklch": {
    "l": 0.45719,
    "c": 0.16968,
    "h": 339.4
  },
  "luminance": 0.08212
}

Semantic roles & 50–950 ramp

primary
#8F2175
secondary
#51BB6A
accent
#E66942
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8F2175

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

Preview Lab → · Contrast checker → · Palette generator →

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