#8D245C#8D245C

#8D245C is a dark, vivid pink. Relative luminance 0.077; OKLCH L 44.5% C 0.150 H 352.3°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#8D245C
RGBrgb(141, 36, 92)
HSLhsl(328, 59%, 35%)
HSVhsv(328, 74%, 55%)
CMYKcmyk(0%, 74.5%, 34.8%, 44.7%)
CIE-LABlab(33.35, 48.48, -7.77)
CIE-LCHlch(33.35, 49.10, 350.89°)
OKLaboklab(44.52% 0.1484 -0.02)
OKLCHoklch(44.52% 0.15 352.3)
XYZxyz(13.5479, 7.6988, 10.8957)
Luminance0.0770 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D245C #248D55
analogous
#8A248D #8D245C #8D2428
triadic
#8D245C #5C8D24 #245C8D
tetradic
#8D245C #8D8A24 #248D55 #24288D
square
#8D245C #8D8A24 #248D55 #24288D
split-complementary
#8D245C #288D24 #248D8A
monochromatic
#2B0B1C #5C183C #8D245C #BE307C #D4579A

Accessibility & contrast

On white

8.27
#8D245C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#8D245C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D245C
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D245C#FFFFFF#000000##FFFFFF
##8D245C1.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36425E
Deuteranopia (green-blind)
#54555A
Tritanopia (blue-blind)
#981C3D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8d245c;
/* rgb */ color: rgb(141, 36, 92);
/* oklch */ color: oklch(44.5% 0.150 352.3);
Tailwind
colors: {
  custom: {
    50: '#b2698a',
    500: '#8d245c',
    950: '#000000',
  },
}
SCSS
$custom: #8d245c;
$custom-light: #b2698a;
$custom-dark: #000000;
JSON
{
  "hex": "#8d245c",
  "rgb": {
    "r": 141,
    "g": 36,
    "b": 92
  },
  "hsl": {
    "h": 328,
    "s": 59.322,
    "l": 34.706
  },
  "oklch": {
    "l": 0.44518,
    "c": 0.14977,
    "h": 352.3
  },
  "luminance": 0.07697
}

Semantic roles & 50–950 ramp

primary
#8D245C
secondary
#54B883
accent
#E38F45
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11070B
muted
#807A7C

Preview Lab

Preview with #8D245C

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

Preview Lab → · Contrast checker → · Palette generator →

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