#8A306F#8A306F

#8A306F is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.1% C 0.143 H 341.4°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#8A306F
RGBrgb(138, 48, 111)
HSLhsl(318, 48%, 36%)
HSVhsv(318, 65%, 54%)
CMYKcmyk(0%, 65.2%, 19.6%, 45.9%)
CIE-LABlab(35.33, 45.33, -16.92)
CIE-LCHlch(35.33, 48.39, 339.53°)
OKLaboklab(46.12% 0.1352 -0.0454)
OKLCHoklch(46.12% 0.143 341.4)
XYZxyz(14.4078, 8.6662, 15.9498)
Luminance0.0867 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A306F #308A4B
analogous
#78308A #8A306F #8A3042
triadic
#8A306F #6F8A30 #306F8A
tetradic
#8A306F #8A7830 #308A4B #30428A
square
#8A306F #8A7830 #308A4B #30428A
split-complementary
#8A306F #428A30 #308A78
monochromatic
#2F1026 #5D204A #8A306F #B74094 #CB69AE

Accessibility & contrast

On white

7.68
#8A306F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A306F
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A306F#FFFFFF#000000##FFFFFF
##8A306F1.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364A71
Deuteranopia (green-blind)
#51586D
Tritanopia (blue-blind)
#92314B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8a306f;
/* rgb */ color: rgb(138, 48, 111);
/* oklch */ color: oklch(46.1% 0.143 341.4);
Tailwind
colors: {
  custom: {
    50: '#af6f98',
    500: '#8a306f',
    950: '#000000',
  },
}
SCSS
$custom: #8a306f;
$custom-light: #af6f98;
$custom-dark: #000000;
JSON
{
  "hex": "#8a306f",
  "rgb": {
    "r": 138,
    "g": 48,
    "b": 111
  },
  "hsl": {
    "h": 318,
    "s": 48.387,
    "l": 36.471
  },
  "oklch": {
    "l": 0.46124,
    "c": 0.14257,
    "h": 341.4
  },
  "luminance": 0.08665
}

Semantic roles & 50–950 ramp

primary
#8A306F
secondary
#64B27B
accent
#D87950
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11080D
muted
#807B7E

Preview Lab

Preview with #8A306F

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

Preview Lab → · Contrast checker → · Palette generator →

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