#8A2675#8A2675

#8A2675 is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.3% C 0.161 H 337.6°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#8A2675
RGBrgb(138, 38, 117)
HSLhsl(313, 57%, 35%)
HSVhsv(313, 72%, 54%)
CMYKcmyk(0%, 72.5%, 15.2%, 45.9%)
CIE-LABlab(34.14, 50.34, -22.56)
CIE-LCHlch(34.14, 55.17, 335.87°)
OKLaboklab(45.34% 0.1485 -0.0612)
OKLCHoklch(45.34% 0.161 337.6)
XYZxyz(14.3855, 8.0752, 17.6272)
Luminance0.0807 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2675 #268A3B
analogous
#6D268A #8A2675 #8A2643
triadic
#8A2675 #758A26 #26758A
tetradic
#8A2675 #8A6D26 #268A3B #26438A
square
#8A2675 #8A6D26 #268A3B #26438A
split-complementary
#8A2675 #438A26 #268A6D
monochromatic
#2A0C24 #5A194C #8A2675 #BA339E #D159B8

Accessibility & contrast

On white

8.03
#8A2675 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#8A2675 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2675
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2675#FFFFFF#000000##FFFFFF
##8A26751.008.032.618.03
#FFFFFF8.031.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4677
Deuteranopia (green-blind)
#4B5673
Tritanopia (blue-blind)
#922B4A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8a2675;
/* rgb */ color: rgb(138, 38, 117);
/* oklch */ color: oklch(45.3% 0.161 337.6);
Tailwind
colors: {
  custom: {
    50: '#af6a9d',
    500: '#8a2675',
    950: '#000000',
  },
}
SCSS
$custom: #8a2675;
$custom-light: #af6a9d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2675",
  "rgb": {
    "r": 138,
    "g": 38,
    "b": 117
  },
  "hsl": {
    "h": 312.6,
    "s": 56.818,
    "l": 34.51
  },
  "oklch": {
    "l": 0.45343,
    "c": 0.16064,
    "h": 337.6
  },
  "luminance": 0.08074
}

Semantic roles & 50–950 ramp

primary
#8A2675
secondary
#56B66A
accent
#E06848
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8A2675

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

Preview Lab → · Contrast checker → · Palette generator →

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