#8A2C6F#8A2C6F

#8A2C6F is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.7% C 0.148 H 341.1°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#8A2C6F
RGBrgb(138, 44, 111)
HSLhsl(317, 52%, 36%)
HSVhsv(317, 68%, 54%)
CMYKcmyk(0%, 68.1%, 19.6%, 45.9%)
CIE-LABlab(34.71, 47.06, -17.89)
CIE-LCHlch(34.71, 50.34, 339.19°)
OKLaboklab(45.67% 0.1404 -0.048)
OKLCHoklch(45.67% 0.148 341.1)
XYZxyz(14.2515, 8.3537, 15.8977)
Luminance0.0835 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2C6F #2C8A47
analogous
#762C8A #8A2C6F #8A2C40
triadic
#8A2C6F #6F8A2C #2C6F8A
tetradic
#8A2C6F #8A762C #2C8A47 #2C408A
square
#8A2C6F #8A762C #2C8A47 #2C408A
split-complementary
#8A2C6F #408A2C #2C8A76
monochromatic
#2D0E24 #5C1D4A #8A2C6F #B83B94 #CD63AF

Accessibility & contrast

On white

7.86
#8A2C6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#8A2C6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2C6F
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2C6F#FFFFFF#000000##FFFFFF
##8A2C6F1.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334871
Deuteranopia (green-blind)
#4F576D
Tritanopia (blue-blind)
#922E49
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8a2c6f;
/* rgb */ color: rgb(138, 44, 111);
/* oklch */ color: oklch(45.7% 0.148 341.1);
Tailwind
colors: {
  custom: {
    50: '#af6d98',
    500: '#8a2c6f',
    950: '#000000',
  },
}
SCSS
$custom: #8a2c6f;
$custom-light: #af6d98;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2c6f",
  "rgb": {
    "r": 138,
    "g": 44,
    "b": 111
  },
  "hsl": {
    "h": 317.234,
    "s": 51.648,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45667,
    "c": 0.14837,
    "h": 341.1
  },
  "luminance": 0.08352
}

Semantic roles & 50–950 ramp

primary
#8A2C6F
secondary
#5EB477
accent
#DB764D
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8A2C6F

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

Preview Lab → · Contrast checker → · Palette generator →

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