#8D245F#8D245F

#8D245F is a dark, vivid pink. Relative luminance 0.078; OKLCH L 44.6% C 0.151 H 350.6°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#8D245F
RGBrgb(141, 36, 95)
HSLhsl(326, 59%, 35%)
HSVhsv(326, 74%, 55%)
CMYKcmyk(0%, 74.5%, 32.6%, 44.7%)
CIE-LABlab(33.46, 48.85, -9.53)
CIE-LCHlch(33.46, 49.77, 348.96°)
OKLaboklab(44.64% 0.1493 -0.0248)
OKLCHoklch(44.64% 0.151 350.6)
XYZxyz(13.6817, 7.7523, 11.6001)
Luminance0.0775 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D245F #248D52
analogous
#87248D #8D245F #8D242A
triadic
#8D245F #5F8D24 #245F8D
tetradic
#8D245F #8D8724 #248D52 #242A8D
square
#8D245F #8D8724 #248D52 #242A8D
split-complementary
#8D245F #2A8D24 #248D87
monochromatic
#2B0B1D #5C183E #8D245F #BE3080 #D4579D

Accessibility & contrast

On white

8.23
#8D245F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#8D245F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D245F
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D245F#FFFFFF#000000##FFFFFF
##8D245F1.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354361
Deuteranopia (green-blind)
#53555D
Tritanopia (blue-blind)
#981D3E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8d245f;
/* rgb */ color: rgb(141, 36, 95);
/* oklch */ color: oklch(44.6% 0.151 350.6);
Tailwind
colors: {
  custom: {
    50: '#b2698c',
    500: '#8d245f',
    950: '#000000',
  },
}
SCSS
$custom: #8d245f;
$custom-light: #b2698c;
$custom-dark: #000000;
JSON
{
  "hex": "#8d245f",
  "rgb": {
    "r": 141,
    "g": 36,
    "b": 95
  },
  "hsl": {
    "h": 326.286,
    "s": 59.322,
    "l": 34.706
  },
  "oklch": {
    "l": 0.44639,
    "c": 0.15132,
    "h": 350.6
  },
  "luminance": 0.07751
}

Semantic roles & 50–950 ramp

primary
#8D245F
secondary
#54B880
accent
#E38A45
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11070C
muted
#807A7D

Preview Lab

Preview with #8D245F

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

Preview Lab → · Contrast checker → · Palette generator →

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