#8B245C#8B245C

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

Color values

HEX#8B245C
RGBrgb(139, 36, 92)
HSLhsl(327, 59%, 34%)
HSVhsv(327, 74%, 55%)
CMYKcmyk(0%, 74.1%, 33.8%, 45.5%)
CIE-LABlab(32.97, 47.91, -8.37)
CIE-LCHlch(32.97, 48.63, 350.09°)
OKLaboklab(44.17% 0.1465 -0.0217)
OKLCHoklch(44.17% 0.148 351.6)
XYZxyz(13.2108, 7.5250, 10.8799)
Luminance0.0752 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B245C #248B53
analogous
#87248B #8B245C #8B2428
triadic
#8B245C #5C8B24 #245C8B
tetradic
#8B245C #8B8724 #248B53 #24288B
square
#8B245C #8B8724 #248B53 #24288B
split-complementary
#8B245C #288B24 #248B87
monochromatic
#2A0B1C #5A173C #8B245C #BC317C #D3569A

Accessibility & contrast

On white

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

On black

2.50
#8B245C on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8B245C#FFFFFF#000000##FFFFFF
##8B245C1.008.382.508.38
#FFFFFF8.381.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35425E
Deuteranopia (green-blind)
#53545A
Tritanopia (blue-blind)
#961D3D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8b245c;
/* rgb */ color: rgb(139, 36, 92);
/* oklch */ color: oklch(44.2% 0.148 351.6);
Tailwind
colors: {
  custom: {
    50: '#b1688a',
    500: '#8b245c',
    950: '#000000',
  },
}
SCSS
$custom: #8b245c;
$custom-light: #b1688a;
$custom-dark: #000000;
JSON
{
  "hex": "#8b245c",
  "rgb": {
    "r": 139,
    "g": 36,
    "b": 92
  },
  "hsl": {
    "h": 327.379,
    "s": 58.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.44174,
    "c": 0.14813,
    "h": 351.6
  },
  "luminance": 0.07523
}

Semantic roles & 50–950 ramp

primary
#8B245C
secondary
#53B781
accent
#E28D46
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11070B
muted
#807A7C

Preview Lab

Preview with #8B245C

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

Preview Lab → · Contrast checker → · Palette generator →

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