#8B245E#8B245E

#8B245E is a dark, vivid pink. Relative luminance 0.076; OKLCH L 44.3% C 0.149 H 350.4°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#8B245E
RGBrgb(139, 36, 94)
HSLhsl(326, 59%, 34%)
HSVhsv(326, 74%, 55%)
CMYKcmyk(0%, 74.1%, 32.4%, 45.5%)
CIE-LABlab(33.05, 48.16, -9.55)
CIE-LCHlch(33.05, 49.09, 348.79°)
OKLaboklab(44.26% 0.1471 -0.0248)
OKLCHoklch(44.26% 0.149 350.4)
XYZxyz(13.2994, 7.5604, 11.3464)
Luminance0.0756 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B245E #248B51
analogous
#85248B #8B245E #8B242A
triadic
#8B245E #5E8B24 #245E8B
tetradic
#8B245E #8B8524 #248B51 #242A8B
square
#8B245E #8B8524 #248B51 #242A8B
split-complementary
#8B245E #2A8B24 #248B85
monochromatic
#2A0B1C #5A173D #8B245E #BC317F #D3569D

Accessibility & contrast

On white

8.36
#8B245E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8B245E
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B245E#FFFFFF#000000##FFFFFF
##8B245E1.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8b245e;
/* rgb */ color: rgb(139, 36, 94);
/* oklch */ color: oklch(44.3% 0.149 350.4);
Tailwind
colors: {
  custom: {
    50: '#b1688b',
    500: '#8b245e',
    950: '#000000',
  },
}
SCSS
$custom: #8b245e;
$custom-light: #b1688b;
$custom-dark: #000000;
JSON
{
  "hex": "#8b245e",
  "rgb": {
    "r": 139,
    "g": 36,
    "b": 94
  },
  "hsl": {
    "h": 326.214,
    "s": 58.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.44255,
    "c": 0.14918,
    "h": 350.4
  },
  "luminance": 0.07559
}

Semantic roles & 50–950 ramp

primary
#8B245E
secondary
#53B77F
accent
#E28A46
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11070C
muted
#807A7D

Preview Lab

Preview with #8B245E

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

Preview Lab → · Contrast checker → · Palette generator →

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