#8A254F#8A254F

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

Color values

HEX#8A254F
RGBrgb(138, 37, 79)
HSLhsl(335, 58%, 34%)
HSVhsv(335, 73%, 54%)
CMYKcmyk(0%, 73.2%, 42.8%, 45.9%)
CIE-LABlab(32.46, 45.75, -0.70)
CIE-LCHlch(32.46, 45.75, 359.12°)
OKLaboklab(43.61% 0.1403 -0.0013)
OKLCHoklch(43.61% 0.14 359.5)
XYZxyz(12.5550, 7.2925, 8.1421)
Luminance0.0729 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A254F #258A60
analogous
#8A2581 #8A254F #8A2E25
triadic
#8A254F #4F8A25 #254F8A
tetradic
#8A254F #818A25 #258A60 #2E258A
square
#8A254F #818A25 #258A60 #2E258A
split-complementary
#8A254F #258A2E #25818A
monochromatic
#290B18 #5A1833 #8A254F #BA326B #D2578A

Accessibility & contrast

On white

8.54
#8A254F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A254F
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A254F#FFFFFF#000000##FFFFFF
##8A254F1.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4050
Deuteranopia (green-blind)
#55534D
Tritanopia (blue-blind)
#961737
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8a254f;
/* rgb */ color: rgb(138, 37, 79);
/* oklch */ color: oklch(43.6% 0.140 359.5);
Tailwind
colors: {
  custom: {
    50: '#b16880',
    500: '#8a254f',
    950: '#000000',
  },
}
SCSS
$custom: #8a254f;
$custom-light: #b16880;
$custom-dark: #000000;
JSON
{
  "hex": "#8a254f",
  "rgb": {
    "r": 138,
    "g": 37,
    "b": 79
  },
  "hsl": {
    "h": 335.05,
    "s": 57.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.43615,
    "c": 0.14029,
    "h": 359.5
  },
  "luminance": 0.07291
}

Semantic roles & 50–950 ramp

primary
#8A254F
secondary
#54B78E
accent
#E1A147
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11070A
muted
#807A7C

Preview Lab

Preview with #8A254F

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

Preview Lab → · Contrast checker → · Palette generator →

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