#8A274F#8A274F

#8A274F is a dark, vivid pink. Relative luminance 0.074; OKLCH L 43.8% C 0.138 H 359.9°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#8A274F
RGBrgb(138, 39, 79)
HSLhsl(336, 56%, 35%)
HSVhsv(336, 72%, 54%)
CMYKcmyk(0%, 71.7%, 42.8%, 45.9%)
CIE-LABlab(32.75, 44.96, -0.29)
CIE-LCHlch(32.75, 44.96, 359.63°)
OKLaboklab(43.82% 0.1378 -0.0002)
OKLCHoklch(43.82% 0.138 359.9)
XYZxyz(12.6189, 7.4204, 8.1634)
Luminance0.0742 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A274F #278A62
analogous
#8A2780 #8A274F #8A3127
triadic
#8A274F #4F8A27 #274F8A
tetradic
#8A274F #808A27 #278A62 #31278A
square
#8A274F #808A27 #278A62 #31278A
split-complementary
#8A274F #278A31 #27808A
monochromatic
#2B0C18 #5A1A34 #8A274F #BA346A #D15B8A

Accessibility & contrast

On white

8.45
#8A274F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#8A274F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A274F
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A274F#FFFFFF#000000##FFFFFF
##8A274F1.008.452.488.45
#FFFFFF8.451.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4150
Deuteranopia (green-blind)
#56544D
Tritanopia (blue-blind)
#961A38
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8a274f;
/* rgb */ color: rgb(138, 39, 79);
/* oklch */ color: oklch(43.8% 0.138 359.9);
Tailwind
colors: {
  custom: {
    50: '#b16980',
    500: '#8a274f',
    950: '#000000',
  },
}
SCSS
$custom: #8a274f;
$custom-light: #b16980;
$custom-dark: #000000;
JSON
{
  "hex": "#8a274f",
  "rgb": {
    "r": 138,
    "g": 39,
    "b": 79
  },
  "hsl": {
    "h": 335.758,
    "s": 55.932,
    "l": 34.706
  },
  "oklch": {
    "l": 0.43823,
    "c": 0.13779,
    "h": 359.9
  },
  "luminance": 0.07419
}

Semantic roles & 50–950 ramp

primary
#8A274F
secondary
#57B68F
accent
#DFA249
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11070A
muted
#807A7C

Preview Lab

Preview with #8A274F

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

Preview Lab → · Contrast checker → · Palette generator →

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