#8A2958#8A2958

#8A2958 is a dark, vivid pink. Relative luminance 0.077; OKLCH L 44.4% C 0.139 H 354.5°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#8A2958
RGBrgb(138, 41, 88)
HSLhsl(331, 54%, 35%)
HSVhsv(331, 70%, 54%)
CMYKcmyk(0%, 70.3%, 36.2%, 45.9%)
CIE-LABlab(33.34, 45.18, -5.25)
CIE-LCHlch(33.34, 45.49, 353.37°)
OKLaboklab(44.36% 0.1383 -0.0133)
OKLCHoklch(44.36% 0.139 354.5)
XYZxyz(13.0364, 7.6952, 10.0294)
Luminance0.0769 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2958 #298A5B
analogous
#8A2988 #8A2958 #8A2B29
triadic
#8A2958 #588A29 #29588A
tetradic
#8A2958 #888A29 #298A5B #2B298A
square
#8A2958 #888A29 #298A5B #2B298A
split-complementary
#8A2958 #298A2B #29888A
monochromatic
#2C0D1C #5B1B3A #8A2958 #B93776 #CF5E95

Accessibility & contrast

On white

8.27
#8A2958 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#8A2958 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2958
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2958#FFFFFF#000000##FFFFFF
##8A29581.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4359
Deuteranopia (green-blind)
#555556
Tritanopia (blue-blind)
#95213D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8a2958;
/* rgb */ color: rgb(138, 41, 88);
/* oklch */ color: oklch(44.4% 0.139 354.5);
Tailwind
colors: {
  custom: {
    50: '#b06a87',
    500: '#8a2958',
    950: '#000000',
  },
}
SCSS
$custom: #8a2958;
$custom-light: #b06a87;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2958",
  "rgb": {
    "r": 138,
    "g": 41,
    "b": 88
  },
  "hsl": {
    "h": 330.928,
    "s": 54.19,
    "l": 35.098
  },
  "oklch": {
    "l": 0.44361,
    "c": 0.1389,
    "h": 354.5
  },
  "luminance": 0.07694
}

Semantic roles & 50–950 ramp

primary
#8A2958
secondary
#5AB589
accent
#DE964A
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11070B
muted
#807A7C

Preview Lab

Preview with #8A2958

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

Preview Lab → · Contrast checker → · Palette generator →

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