#8F2273#8F2273

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

Color values

HEX#8F2273
RGBrgb(143, 34, 115)
HSLhsl(315, 62%, 35%)
HSVhsv(315, 76%, 56%)
CMYKcmyk(0%, 76.2%, 19.6%, 43.9%)
CIE-LABlab(34.44, 52.74, -20.75)
CIE-LCHlch(34.44, 56.68, 338.52°)
OKLaboklab(45.7% 0.1576 -0.056)
OKLCHoklch(45.7% 0.167 340.4)
XYZxyz(14.9947, 8.2230, 17.0138)
Luminance0.0822 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2273 #228F3E
analogous
#75228F #8F2273 #8F223C
triadic
#8F2273 #738F22 #22738F
tetradic
#8F2273 #8F7522 #228F3E #223C8F
square
#8F2273 #8F7522 #228F3E #223C8F
split-complementary
#8F2273 #3C8F22 #228F75
monochromatic
#2C0A23 #5E164B #8F2273 #C02E9B #D755B5

Accessibility & contrast

On white

7.94
#8F2273 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F2273
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2273#FFFFFF#000000##FFFFFF
##8F22731.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4675
Deuteranopia (green-blind)
#4E5770
Tritanopia (blue-blind)
#982548
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8f2273;
/* rgb */ color: rgb(143, 34, 115);
/* oklch */ color: oklch(45.7% 0.167 340.4);
Tailwind
colors: {
  custom: {
    50: '#b3699b',
    500: '#8f2273',
    950: '#000000',
  },
}
SCSS
$custom: #8f2273;
$custom-light: #b3699b;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2273",
  "rgb": {
    "r": 143,
    "g": 34,
    "b": 115
  },
  "hsl": {
    "h": 315.413,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.45702,
    "c": 0.16722,
    "h": 340.4
  },
  "luminance": 0.08221
}

Semantic roles & 50–950 ramp

primary
#8F2273
secondary
#52BA6D
accent
#E56D43
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8F2273

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

Preview Lab → · Contrast checker → · Palette generator →

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