#8B2974#8B2974

#8B2974 is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.8% C 0.157 H 338.7°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#8B2974
RGBrgb(139, 41, 116)
HSLhsl(314, 54%, 35%)
HSVhsv(314, 71%, 55%)
CMYKcmyk(0%, 70.5%, 16.5%, 45.5%)
CIE-LABlab(34.68, 49.31, -21.08)
CIE-LCHlch(34.68, 53.62, 336.85°)
OKLaboklab(45.75% 0.146 -0.057)
OKLCHoklch(45.75% 0.157 338.7)
XYZxyz(14.5931, 8.3371, 17.3603)
Luminance0.0834 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2974 #298B40
analogous
#71298B #8B2974 #8B2943
triadic
#8B2974 #748B29 #29748B
tetradic
#8B2974 #8B7129 #298B40 #29438B
square
#8B2974 #8B7129 #298B40 #29438B
split-complementary
#8B2974 #438B29 #298B71
monochromatic
#2C0D25 #5C1B4D #8B2974 #BA379B #D05FB5

Accessibility & contrast

On white

7.87
#8B2974 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8B2974
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2974#FFFFFF#000000##FFFFFF
##8B29741.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4876
Deuteranopia (green-blind)
#4D5772
Tritanopia (blue-blind)
#932D4B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8b2974;
/* rgb */ color: rgb(139, 41, 116);
/* oklch */ color: oklch(45.8% 0.157 338.7);
Tailwind
colors: {
  custom: {
    50: '#b06b9c',
    500: '#8b2974',
    950: '#000000',
  },
}
SCSS
$custom: #8b2974;
$custom-light: #b06b9c;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2974",
  "rgb": {
    "r": 139,
    "g": 41,
    "b": 116
  },
  "hsl": {
    "h": 314.082,
    "s": 54.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45751,
    "c": 0.15672,
    "h": 338.7
  },
  "luminance": 0.08336
}

Semantic roles & 50–950 ramp

primary
#8B2974
secondary
#5BB570
accent
#DE6D4A
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8B2974

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

Preview Lab → · Contrast checker → · Palette generator →

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