#8B285D#8B285D

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

Color values

HEX#8B285D
RGBrgb(139, 40, 93)
HSLhsl(328, 55%, 35%)
HSVhsv(328, 71%, 55%)
CMYKcmyk(0%, 71.2%, 33.1%, 45.5%)
CIE-LABlab(33.56, 46.50, -8.13)
CIE-LCHlch(33.56, 47.21, 350.08°)
OKLaboklab(44.62% 0.142 -0.021)
OKLCHoklch(44.62% 0.144 351.6)
XYZxyz(13.3828, 7.7984, 11.1543)
Luminance0.0780 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B285D #288B56
analogous
#87288B #8B285D #8B282B
triadic
#8B285D #5D8B28 #285D8B
tetradic
#8B285D #8B8728 #288B56 #282B8B
square
#8B285D #8B8728 #288B56 #282B8B
split-complementary
#8B285D #2B8B28 #288B87
monochromatic
#2C0D1D #5B1A3D #8B285D #BB367D #D05D9B

Accessibility & contrast

On white

8.21
#8B285D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#8B285D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B285D
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B285D#FFFFFF#000000##FFFFFF
##8B285D1.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38445E
Deuteranopia (green-blind)
#54555B
Tritanopia (blue-blind)
#96223F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8b285d;
/* rgb */ color: rgb(139, 40, 93);
/* oklch */ color: oklch(44.6% 0.144 351.6);
Tailwind
colors: {
  custom: {
    50: '#b16a8a',
    500: '#8b285d',
    950: '#000000',
  },
}
SCSS
$custom: #8b285d;
$custom-light: #b16a8a;
$custom-dark: #000000;
JSON
{
  "hex": "#8b285d",
  "rgb": {
    "r": 139,
    "g": 40,
    "b": 93
  },
  "hsl": {
    "h": 327.879,
    "s": 55.307,
    "l": 35.098
  },
  "oklch": {
    "l": 0.44616,
    "c": 0.14358,
    "h": 351.6
  },
  "luminance": 0.07797
}

Semantic roles & 50–950 ramp

primary
#8B285D
secondary
#59B684
accent
#DF8F49
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11070B
muted
#807A7C

Preview Lab

Preview with #8B285D

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

Preview Lab → · Contrast checker → · Palette generator →

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