#8A2970#8A2970

#8A2970 is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.4% C 0.153 H 340.3°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#8A2970
RGBrgb(138, 41, 112)
HSLhsl(316, 54%, 35%)
HSVhsv(316, 70%, 54%)
CMYKcmyk(0%, 70.3%, 18.8%, 45.9%)
CIE-LABlab(34.31, 48.43, -19.13)
CIE-LCHlch(34.31, 52.07, 338.45°)
OKLaboklab(45.39% 0.1443 -0.0515)
OKLCHoklch(45.39% 0.153 340.3)
XYZxyz(14.1992, 8.1603, 16.1534)
Luminance0.0816 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2970 #298A43
analogous
#73298A #8A2970 #8A2940
triadic
#8A2970 #708A29 #29708A
tetradic
#8A2970 #8A7329 #298A43 #29408A
square
#8A2970 #8A7329 #298A43 #29408A
split-complementary
#8A2970 #408A29 #298A73
monochromatic
#2C0D23 #5B1B4A #8A2970 #B93796 #CF5EB1

Accessibility & contrast

On white

7.98
#8A2970 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#8A2970 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2970
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2970#FFFFFF#000000##FFFFFF
##8A29701.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4772
Deuteranopia (green-blind)
#4E566E
Tritanopia (blue-blind)
#922B49
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8a2970;
/* rgb */ color: rgb(138, 41, 112);
/* oklch */ color: oklch(45.4% 0.153 340.3);
Tailwind
colors: {
  custom: {
    50: '#af6b99',
    500: '#8a2970',
    950: '#000000',
  },
}
SCSS
$custom: #8a2970;
$custom-light: #af6b99;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2970",
  "rgb": {
    "r": 138,
    "g": 41,
    "b": 112
  },
  "hsl": {
    "h": 316.082,
    "s": 54.19,
    "l": 35.098
  },
  "oklch": {
    "l": 0.45394,
    "c": 0.15318,
    "h": 340.3
  },
  "luminance": 0.08159
}

Semantic roles & 50–950 ramp

primary
#8A2970
secondary
#5AB572
accent
#DE724A
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8A2970

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

Preview Lab → · Contrast checker → · Palette generator →

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