#8B254B#8B254B

#8B254B is a dark, vivid pink. Relative luminance 0.073; OKLCH L 43.7% C 0.140 H 2.3°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#8B254B
RGBrgb(139, 37, 75)
HSLhsl(338, 58%, 35%)
HSVhsv(338, 73%, 55%)
CMYKcmyk(0%, 73.4%, 46%, 45.5%)
CIE-LABlab(32.53, 45.64, 2.03)
CIE-LCHlch(32.53, 45.68, 2.55°)
OKLaboklab(43.66% 0.1398 0.0057)
OKLCHoklch(43.66% 0.14 2.3)
XYZxyz(12.5800, 7.3217, 7.4060)
Luminance0.0732 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B254B #258B65
analogous
#8B257E #8B254B #8B3225
triadic
#8B254B #4B8B25 #254B8B
tetradic
#8B254B #7E8B25 #258B65 #32258B
square
#8B254B #7E8B25 #258B65 #32258B
split-complementary
#8B254B #258B32 #257E8B
monochromatic
#2A0B17 #5B1831 #8B254B #BB3265 #D35886

Accessibility & contrast

On white

8.52
#8B254B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#8B254B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B254B
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B254B#FFFFFF#000000##FFFFFF
##8B254B1.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B404C
Deuteranopia (green-blind)
#575449
Tritanopia (blue-blind)
#971535
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8b254b;
/* rgb */ color: rgb(139, 37, 75);
/* oklch */ color: oklch(43.7% 0.140 2.3);
Tailwind
colors: {
  custom: {
    50: '#b2687d',
    500: '#8b254b',
    950: '#000000',
  },
}
SCSS
$custom: #8b254b;
$custom-light: #b2687d;
$custom-dark: #000000;
JSON
{
  "hex": "#8b254b",
  "rgb": {
    "r": 139,
    "g": 37,
    "b": 75
  },
  "hsl": {
    "h": 337.647,
    "s": 57.955,
    "l": 34.51
  },
  "oklch": {
    "l": 0.43657,
    "c": 0.13988,
    "h": 2.3
  },
  "luminance": 0.0732
}

Semantic roles & 50–950 ramp

primary
#8B254B
secondary
#55B792
accent
#E1A847
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#110709
muted
#807A7B

Preview Lab

Preview with #8B254B

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

Preview Lab → · Contrast checker → · Palette generator →

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