#8A274B#8A274B

#8A274B is a dark, vivid pink. Relative luminance 0.074; OKLCH L 43.7% C 0.136 H 2.5°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#8A274B
RGBrgb(138, 39, 75)
HSLhsl(338, 56%, 35%)
HSVhsv(338, 72%, 54%)
CMYKcmyk(0%, 71.7%, 45.7%, 45.9%)
CIE-LABlab(32.62, 44.54, 2.14)
CIE-LCHlch(32.62, 44.59, 2.75°)
OKLaboklab(43.69% 0.1363 0.006)
OKLCHoklch(43.69% 0.136 2.5)
XYZxyz(12.4777, 7.3639, 7.4195)
Luminance0.0736 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A274B #278A66
analogous
#8A277C #8A274B #8A3527
triadic
#8A274B #4B8A27 #274B8A
tetradic
#8A274B #7C8A27 #278A66 #35278A
square
#8A274B #7C8A27 #278A66 #35278A
split-complementary
#8A274B #278A35 #277C8A
monochromatic
#2B0C17 #5A1A31 #8A274B #BA3465 #D15B86

Accessibility & contrast

On white

8.49
#8A274B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#8A274B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A274B
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A274B#FFFFFF#000000##FFFFFF
##8A274B1.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C404C
Deuteranopia (green-blind)
#575449
Tritanopia (blue-blind)
#961836
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8a274b;
/* rgb */ color: rgb(138, 39, 75);
/* oklch */ color: oklch(43.7% 0.136 2.5);
Tailwind
colors: {
  custom: {
    50: '#b1697d',
    500: '#8a274b',
    950: '#000000',
  },
}
SCSS
$custom: #8a274b;
$custom-light: #b1697d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a274b",
  "rgb": {
    "r": 138,
    "g": 39,
    "b": 75
  },
  "hsl": {
    "h": 338.182,
    "s": 55.932,
    "l": 34.706
  },
  "oklch": {
    "l": 0.43691,
    "c": 0.13646,
    "h": 2.5
  },
  "luminance": 0.07362
}

Semantic roles & 50–950 ramp

primary
#8A274B
secondary
#57B693
accent
#DFA849
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#110709
muted
#807A7B

Preview Lab

Preview with #8A274B

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

Preview Lab → · Contrast checker → · Palette generator →

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