#8C225E#8C225E

#8C225E is a dark, vivid pink. Relative luminance 0.075; OKLCH L 44.2% C 0.152 H 350.5°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#8C225E
RGBrgb(140, 34, 94)
HSLhsl(326, 61%, 34%)
HSVhsv(326, 76%, 55%)
CMYKcmyk(0%, 75.7%, 32.9%, 45.1%)
CIE-LABlab(32.98, 49.15, -9.63)
CIE-LCHlch(32.98, 50.09, 348.91°)
OKLaboklab(44.24% 0.1503 -0.0251)
OKLCHoklch(44.24% 0.152 350.5)
XYZxyz(13.4084, 7.5292, 11.3347)
Luminance0.0753 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C225E #228C50
analogous
#85228C #8C225E #8C2229
triadic
#8C225E #5E8C22 #225E8C
tetradic
#8C225E #8C8522 #228C50 #22298C
square
#8C225E #8C8522 #228C50 #22298C
split-complementary
#8C225E #298C22 #228C85
monochromatic
#2A0A1C #5B163D #8C225E #BD2E7F #D5539D

Accessibility & contrast

On white

8.38
#8C225E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#8C225E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8C225E
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C225E#FFFFFF#000000##FFFFFF
##8C225E1.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344260
Deuteranopia (green-blind)
#52545C
Tritanopia (blue-blind)
#971B3D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8c225e;
/* rgb */ color: rgb(140, 34, 94);
/* oklch */ color: oklch(44.2% 0.152 350.5);
Tailwind
colors: {
  custom: {
    50: '#b2688b',
    500: '#8c225e',
    950: '#000000',
  },
}
SCSS
$custom: #8c225e;
$custom-light: #b2688b;
$custom-dark: #000000;
JSON
{
  "hex": "#8c225e",
  "rgb": {
    "r": 140,
    "g": 34,
    "b": 94
  },
  "hsl": {
    "h": 326.038,
    "s": 60.92,
    "l": 34.118
  },
  "oklch": {
    "l": 0.44241,
    "c": 0.15236,
    "h": 350.5
  },
  "luminance": 0.07528
}

Semantic roles & 50–950 ramp

primary
#8C225E
secondary
#51B97E
accent
#E48944
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11070C
muted
#807A7D

Preview Lab

Preview with #8C225E

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

Preview Lab → · Contrast checker → · Palette generator →

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