#8A254E#8A254E

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

Color values

HEX#8A254E
RGBrgb(138, 37, 78)
HSLhsl(336, 58%, 34%)
HSVhsv(336, 73%, 54%)
CMYKcmyk(0%, 73.2%, 43.5%, 45.9%)
CIE-LABlab(32.43, 45.64, -0.10)
CIE-LCHlch(32.43, 45.64, 359.88°)
OKLaboklab(43.58% 0.1399 0.0003)
OKLCHoklch(43.58% 0.14 0.1)
XYZxyz(12.5189, 7.2780, 7.9518)
Luminance0.0728 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A254E #258A61
analogous
#8A2581 #8A254E #8A2F25
triadic
#8A254E #4E8A25 #254E8A
tetradic
#8A254E #818A25 #258A61 #2F258A
square
#8A254E #818A25 #258A61 #2F258A
split-complementary
#8A254E #258A2F #25818A
monochromatic
#290B17 #5A1833 #8A254E #BA3269 #D25789

Accessibility & contrast

On white

8.55
#8A254E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A254E
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A254E#FFFFFF#000000##FFFFFF
##8A254E1.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A404F
Deuteranopia (green-blind)
#55534C
Tritanopia (blue-blind)
#961736
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8a254e;
/* rgb */ color: rgb(138, 37, 78);
/* oklch */ color: oklch(43.6% 0.140 0.1);
Tailwind
colors: {
  custom: {
    50: '#b1687f',
    500: '#8a254e',
    950: '#000000',
  },
}
SCSS
$custom: #8a254e;
$custom-light: #b1687f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a254e",
  "rgb": {
    "r": 138,
    "g": 37,
    "b": 78
  },
  "hsl": {
    "h": 335.644,
    "s": 57.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.43581,
    "c": 0.13992,
    "h": 0.1
  },
  "luminance": 0.07276
}

Semantic roles & 50–950 ramp

primary
#8A254E
secondary
#54B78F
accent
#E1A247
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11070A
muted
#807A7C

Preview Lab

Preview with #8A254E

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

Preview Lab → · Contrast checker → · Palette generator →

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