#8A306E#8A306E

#8A306E is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.1% C 0.142 H 342.0°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#8A306E
RGBrgb(138, 48, 110)
HSLhsl(319, 48%, 36%)
HSVhsv(319, 65%, 54%)
CMYKcmyk(0%, 65.2%, 20.3%, 45.9%)
CIE-LABlab(35.29, 45.18, -16.36)
CIE-LCHlch(35.29, 48.05, 340.10°)
OKLaboklab(46.08% 0.1349 -0.0438)
OKLCHoklch(46.08% 0.142 342)
XYZxyz(14.3530, 8.6443, 15.6614)
Luminance0.0864 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A306E #308A4C
analogous
#79308A #8A306E #8A3041
triadic
#8A306E #6E8A30 #306E8A
tetradic
#8A306E #8A7930 #308A4C #30418A
square
#8A306E #8A7930 #308A4C #30418A
split-complementary
#8A306E #418A30 #308A79
monochromatic
#2F1026 #5D204A #8A306E #B74092 #CB69AD

Accessibility & contrast

On white

7.70
#8A306E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#8A306E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A306E
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A306E#FFFFFF#000000##FFFFFF
##8A306E1.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374A70
Deuteranopia (green-blind)
#51586C
Tritanopia (blue-blind)
#92314A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8a306e;
/* rgb */ color: rgb(138, 48, 110);
/* oklch */ color: oklch(46.1% 0.142 342.0);
Tailwind
colors: {
  custom: {
    50: '#af6f97',
    500: '#8a306e',
    950: '#000000',
  },
}
SCSS
$custom: #8a306e;
$custom-light: #af6f97;
$custom-dark: #000000;
JSON
{
  "hex": "#8a306e",
  "rgb": {
    "r": 138,
    "g": 48,
    "b": 110
  },
  "hsl": {
    "h": 318.667,
    "s": 48.387,
    "l": 36.471
  },
  "oklch": {
    "l": 0.46078,
    "c": 0.14187,
    "h": 342
  },
  "luminance": 0.08643
}

Semantic roles & 50–950 ramp

primary
#8A306E
secondary
#64B27C
accent
#D87A50
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11080D
muted
#807B7E

Preview Lab

Preview with #8A306E

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

Preview Lab → · Contrast checker → · Palette generator →

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