#8A2875#8A2875

#8A2875 is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.5% C 0.158 H 337.7°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#8A2875
RGBrgb(138, 40, 117)
HSLhsl(313, 55%, 35%)
HSVhsv(313, 71%, 54%)
CMYKcmyk(0%, 71%, 15.2%, 45.9%)
CIE-LABlab(34.41, 49.58, -22.14)
CIE-LCHlch(34.41, 54.30, 335.94°)
OKLaboklab(45.54% 0.1462 -0.06)
OKLCHoklch(45.54% 0.158 337.7)
XYZxyz(14.4512, 8.2065, 17.6491)
Luminance0.0820 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2875 #288A3D
analogous
#6E288A #8A2875 #8A2844
triadic
#8A2875 #758A28 #28758A
tetradic
#8A2875 #8A6E28 #288A3D #28448A
square
#8A2875 #8A6E28 #288A3D #28448A
split-complementary
#8A2875 #448A28 #288A6E
monochromatic
#2B0C25 #5B1A4D #8A2875 #B9369D #D05DB7

Accessibility & contrast

On white

7.95
#8A2875 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#8A2875 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2875
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2875#FFFFFF#000000##FFFFFF
##8A28751.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a2875;
/* rgb */ color: rgb(138, 40, 117);
/* oklch */ color: oklch(45.5% 0.158 337.7);
Tailwind
colors: {
  custom: {
    50: '#af6b9d',
    500: '#8a2875',
    950: '#000000',
  },
}
SCSS
$custom: #8a2875;
$custom-light: #af6b9d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2875",
  "rgb": {
    "r": 138,
    "g": 40,
    "b": 117
  },
  "hsl": {
    "h": 312.857,
    "s": 55.056,
    "l": 34.902
  },
  "oklch": {
    "l": 0.45539,
    "c": 0.15809,
    "h": 337.7
  },
  "luminance": 0.08205
}

Semantic roles & 50–950 ramp

primary
#8A2875
secondary
#59B56C
accent
#DE6949
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8A2875

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

Preview Lab → · Contrast checker → · Palette generator →

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