#8A2974#8A2974

#8A2974 is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.6% C 0.156 H 338.2°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#8A2974
RGBrgb(138, 41, 116)
HSLhsl(314, 54%, 35%)
HSVhsv(314, 70%, 54%)
CMYKcmyk(0%, 70.3%, 15.9%, 45.9%)
CIE-LABlab(34.50, 49.04, -21.36)
CIE-LCHlch(34.50, 53.49, 336.46°)
OKLaboklab(45.59% 0.1449 -0.0578)
OKLCHoklch(45.59% 0.156 338.2)
XYZxyz(14.4268, 8.2514, 17.3525)
Luminance0.0825 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2974 #298A3F
analogous
#6F298A #8A2974 #8A2944
triadic
#8A2974 #748A29 #29748A
tetradic
#8A2974 #8A6F29 #298A3F #29448A
square
#8A2974 #8A6F29 #298A3F #29448A
split-complementary
#8A2974 #448A29 #298A6F
monochromatic
#2C0D25 #5B1B4C #8A2974 #B9379C #CF5EB6

Accessibility & contrast

On white

7.92
#8A2974 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#8A2974 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2974
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2974#FFFFFF#000000##FFFFFF
##8A29741.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4776
Deuteranopia (green-blind)
#4C5772
Tritanopia (blue-blind)
#922D4B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8a2974;
/* rgb */ color: rgb(138, 41, 116);
/* oklch */ color: oklch(45.6% 0.156 338.2);
Tailwind
colors: {
  custom: {
    50: '#af6b9c',
    500: '#8a2974',
    950: '#000000',
  },
}
SCSS
$custom: #8a2974;
$custom-light: #af6b9c;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2974",
  "rgb": {
    "r": 138,
    "g": 41,
    "b": 116
  },
  "hsl": {
    "h": 313.608,
    "s": 54.19,
    "l": 35.098
  },
  "oklch": {
    "l": 0.4559,
    "c": 0.15604,
    "h": 338.2
  },
  "luminance": 0.0825
}

Semantic roles & 50–950 ramp

primary
#8A2974
secondary
#5AB56F
accent
#DE6C4A
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8A2974

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

Preview Lab → · Contrast checker → · Palette generator →

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