#8A2F75#8A2F75

#8A2F75 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.3% C 0.148 H 338.0°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#8A2F75
RGBrgb(138, 47, 117)
HSLhsl(314, 49%, 36%)
HSVhsv(314, 66%, 54%)
CMYKcmyk(0%, 65.9%, 15.2%, 45.9%)
CIE-LABlab(35.44, 46.70, -20.53)
CIE-LCHlch(35.44, 51.02, 336.27°)
OKLaboklab(46.29% 0.1376 -0.0555)
OKLCHoklch(46.29% 0.148 338)
XYZxyz(14.7089, 8.7219, 17.7350)
Luminance0.0872 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2F75 #2F8A44
analogous
#722F8A #8A2F75 #8A2F48
triadic
#8A2F75 #758A2F #2F758A
tetradic
#8A2F75 #8A722F #2F8A44 #2F488A
square
#8A2F75 #8A722F #2F8A44 #2F488A
split-complementary
#8A2F75 #488A2F #2F8A72
monochromatic
#2F1028 #5C1F4E #8A2F75 #B83F9C #CC68B5

Accessibility & contrast

On white

7.65
#8A2F75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#8A2F75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2F75
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2F75#FFFFFF#000000##FFFFFF
##8A2F751.007.652.747.65
#FFFFFF7.651.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324A77
Deuteranopia (green-blind)
#4F5873
Tritanopia (blue-blind)
#91334D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8a2f75;
/* rgb */ color: rgb(138, 47, 117);
/* oklch */ color: oklch(46.3% 0.148 338.0);
Tailwind
colors: {
  custom: {
    50: '#af6e9d',
    500: '#8a2f75',
    950: '#000000',
  },
}
SCSS
$custom: #8a2f75;
$custom-light: #af6e9d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2f75",
  "rgb": {
    "r": 138,
    "g": 47,
    "b": 117
  },
  "hsl": {
    "h": 313.846,
    "s": 49.189,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46293,
    "c": 0.14842,
    "h": 338
  },
  "luminance": 0.08721
}

Semantic roles & 50–950 ramp

primary
#8A2F75
secondary
#62B375
accent
#D96F4F
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11080E
muted
#807B7E

Preview Lab

Preview with #8A2F75

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

Preview Lab → · Contrast checker → · Palette generator →

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