#8F2275#8F2275

#8F2275 is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.8% C 0.169 H 339.5°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#8F2275
RGBrgb(143, 34, 117)
HSLhsl(314, 62%, 35%)
HSVhsv(314, 76%, 56%)
CMYKcmyk(0%, 76.2%, 18.2%, 43.9%)
CIE-LABlab(34.54, 53.03, -21.87)
CIE-LCHlch(34.54, 57.36, 337.59°)
OKLaboklab(45.8% 0.1579 -0.0591)
OKLCHoklch(45.8% 0.169 339.5)
XYZxyz(15.1110, 8.2695, 17.6265)
Luminance0.0827 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2275 #228F3C
analogous
#73228F #8F2275 #8F223F
triadic
#8F2275 #758F22 #22758F
tetradic
#8F2275 #8F7322 #228F3C #223F8F
square
#8F2275 #8F7322 #228F3C #223F8F
split-complementary
#8F2275 #3F8F22 #228F73
monochromatic
#2C0A24 #5E164D #8F2275 #C02E9D #D755B8

Accessibility & contrast

On white

7.91
#8F2275 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#8F2275 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2275
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2275#FFFFFF#000000##FFFFFF
##8F22751.007.912.657.91
#FFFFFF7.911.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8f2275;
/* rgb */ color: rgb(143, 34, 117);
/* oklch */ color: oklch(45.8% 0.169 339.5);
Tailwind
colors: {
  custom: {
    50: '#b3699d',
    500: '#8f2275',
    950: '#000000',
  },
}
SCSS
$custom: #8f2275;
$custom-light: #b3699d;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2275",
  "rgb": {
    "r": 143,
    "g": 34,
    "b": 117
  },
  "hsl": {
    "h": 314.312,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.45802,
    "c": 0.16857,
    "h": 339.5
  },
  "luminance": 0.08268
}

Semantic roles & 50–950 ramp

primary
#8F2275
secondary
#52BA6B
accent
#E56A43
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8F2275

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

Preview Lab → · Contrast checker → · Palette generator →

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