#8F2274#8F2274

#8F2274 is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.8% C 0.168 H 340.0°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#8F2274
RGBrgb(143, 34, 116)
HSLhsl(315, 62%, 35%)
HSVhsv(315, 76%, 56%)
CMYKcmyk(0%, 76.2%, 18.9%, 43.9%)
CIE-LABlab(34.49, 52.89, -21.31)
CIE-LCHlch(34.49, 57.02, 338.05°)
OKLaboklab(45.75% 0.1577 -0.0576)
OKLCHoklch(45.75% 0.168 340)
XYZxyz(15.0525, 8.2461, 17.3185)
Luminance0.0824 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2274 #228F3D
analogous
#73228F #8F2274 #8F223E
triadic
#8F2274 #748F22 #22748F
tetradic
#8F2274 #8F7322 #228F3D #223E8F
square
#8F2274 #8F7322 #228F3D #223E8F
split-complementary
#8F2274 #3E8F22 #228F73
monochromatic
#2C0A24 #5E164C #8F2274 #C02E9C #D755B6

Accessibility & contrast

On white

7.93
#8F2274 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F2274
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2274#FFFFFF#000000##FFFFFF
##8F22741.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4676
Deuteranopia (green-blind)
#4D5771
Tritanopia (blue-blind)
#982648
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8f2274;
/* rgb */ color: rgb(143, 34, 116);
/* oklch */ color: oklch(45.8% 0.168 340.0);
Tailwind
colors: {
  custom: {
    50: '#b3699c',
    500: '#8f2274',
    950: '#000000',
  },
}
SCSS
$custom: #8f2274;
$custom-light: #b3699c;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2274",
  "rgb": {
    "r": 143,
    "g": 34,
    "b": 116
  },
  "hsl": {
    "h": 314.862,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.45752,
    "c": 0.1679,
    "h": 340
  },
  "luminance": 0.08245
}

Semantic roles & 50–950 ramp

primary
#8F2274
secondary
#52BA6C
accent
#E56B43
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8F2274

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

Preview Lab → · Contrast checker → · Palette generator →

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