#8A2673#8A2673

#8A2673 is a mid, vivid pink. Relative luminance 0.080; OKLCH L 45.2% C 0.159 H 338.6°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#8A2673
RGBrgb(138, 38, 115)
HSLhsl(314, 57%, 35%)
HSVhsv(314, 72%, 54%)
CMYKcmyk(0%, 72.5%, 16.7%, 45.9%)
CIE-LABlab(34.04, 50.04, -21.45)
CIE-LCHlch(34.04, 54.44, 336.80°)
OKLaboklab(45.24% 0.1482 -0.0581)
OKLCHoklch(45.24% 0.159 338.6)
XYZxyz(14.2692, 8.0286, 17.0145)
Luminance0.0803 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2673 #268A3D
analogous
#6F268A #8A2673 #8A2641
triadic
#8A2673 #738A26 #26738A
tetradic
#8A2673 #8A6F26 #268A3D #26418A
square
#8A2673 #8A6F26 #268A3D #26418A
split-complementary
#8A2673 #418A26 #268A6F
monochromatic
#2A0C23 #5A194B #8A2673 #BA339B #D159B6

Accessibility & contrast

On white

8.06
#8A2673 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#8A2673 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2673
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2673#FFFFFF#000000##FFFFFF
##8A26731.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4675
Deuteranopia (green-blind)
#4B5671
Tritanopia (blue-blind)
#922A49
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8a2673;
/* rgb */ color: rgb(138, 38, 115);
/* oklch */ color: oklch(45.2% 0.159 338.6);
Tailwind
colors: {
  custom: {
    50: '#af6a9b',
    500: '#8a2673',
    950: '#000000',
  },
}
SCSS
$custom: #8a2673;
$custom-light: #af6a9b;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2673",
  "rgb": {
    "r": 138,
    "g": 38,
    "b": 115
  },
  "hsl": {
    "h": 313.8,
    "s": 56.818,
    "l": 34.51
  },
  "oklch": {
    "l": 0.45242,
    "c": 0.1592,
    "h": 338.6
  },
  "luminance": 0.08027
}

Semantic roles & 50–950 ramp

primary
#8A2673
secondary
#56B66C
accent
#E06B48
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8A2673

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

Preview Lab → · Contrast checker → · Palette generator →

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