#8C2F5D#8C2F5D

#8C2F5D is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.6% C 0.135 H 353.2°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#8C2F5D
RGBrgb(140, 47, 93)
HSLhsl(330, 50%, 37%)
HSVhsv(330, 66%, 55%)
CMYKcmyk(0%, 66.4%, 33.6%, 45.1%)
CIE-LABlab(34.80, 43.87, -6.25)
CIE-LCHlch(34.80, 44.31, 351.89°)
OKLaboklab(45.57% 0.1338 -0.016)
OKLCHoklch(45.57% 0.135 353.2)
XYZxyz(13.8082, 8.4003, 11.2480)
Luminance0.0840 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C2F5D #2F8C5E
analogous
#8C2F8C #8C2F5D #8C302F
triadic
#8C2F5D #5D8C2F #2F5D8C
tetradic
#8C2F5D #8C8C2F #2F8C5E #302F8C
square
#8C2F5D #8C8C2F #2F8C5E #302F8C
split-complementary
#8C2F5D #2F8C30 #2F8C8C
monochromatic
#301020 #5E203F #8C2F5D #BA3E7B #CD699A

Accessibility & contrast

On white

7.84
#8C2F5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#8C2F5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8C2F5D
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C2F5D#FFFFFF#000000##FFFFFF
##8C2F5D1.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E475E
Deuteranopia (green-blind)
#57585B
Tritanopia (blue-blind)
#972942
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8c2f5d;
/* rgb */ color: rgb(140, 47, 93);
/* oklch */ color: oklch(45.6% 0.135 353.2);
Tailwind
colors: {
  custom: {
    50: '#b16e8a',
    500: '#8c2f5d',
    950: '#000000',
  },
}
SCSS
$custom: #8c2f5d;
$custom-light: #b16e8a;
$custom-dark: #000000;
JSON
{
  "hex": "#8c2f5d",
  "rgb": {
    "r": 140,
    "g": 47,
    "b": 93
  },
  "hsl": {
    "h": 330.323,
    "s": 49.733,
    "l": 36.667
  },
  "oklch": {
    "l": 0.45566,
    "c": 0.13479,
    "h": 353.2
  },
  "luminance": 0.08399
}

Semantic roles & 50–950 ramp

primary
#8C2F5D
secondary
#63B48C
accent
#D9954F
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#11070B
muted
#807A7C

Preview Lab

Preview with #8C2F5D

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

Preview Lab → · Contrast checker → · Palette generator →

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