#8A305C#8A305C

#8A305C is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.3% C 0.131 H 353.3°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#8A305C
RGBrgb(138, 48, 92)
HSLhsl(331, 48%, 36%)
HSVhsv(331, 65%, 54%)
CMYKcmyk(0%, 65.2%, 33.3%, 45.9%)
CIE-LABlab(34.58, 42.66, -5.98)
CIE-LCHlch(34.58, 43.08, 352.02°)
OKLaboklab(45.32% 0.1301 -0.0153)
OKLCHoklch(45.32% 0.131 353.3)
XYZxyz(13.4706, 8.2913, 11.0141)
Luminance0.0829 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A305C #308A5E
analogous
#8A3089 #8A305C #8A3130
triadic
#8A305C #5C8A30 #305C8A
tetradic
#8A305C #898A30 #308A5E #31308A
square
#8A305C #898A30 #308A5E #31308A
split-complementary
#8A305C #308A31 #30898A
monochromatic
#2F101F #5D203E #8A305C #B7407A #CB6999

Accessibility & contrast

On white

7.90
#8A305C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#8A305C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A305C
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A305C#FFFFFF#000000##FFFFFF
##8A305C1.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E475D
Deuteranopia (green-blind)
#57575A
Tritanopia (blue-blind)
#942A42
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8a305c;
/* rgb */ color: rgb(138, 48, 92);
/* oklch */ color: oklch(45.3% 0.131 353.3);
Tailwind
colors: {
  custom: {
    50: '#b06e8a',
    500: '#8a305c',
    950: '#000000',
  },
}
SCSS
$custom: #8a305c;
$custom-light: #b06e8a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a305c",
  "rgb": {
    "r": 138,
    "g": 48,
    "b": 92
  },
  "hsl": {
    "h": 330.667,
    "s": 48.387,
    "l": 36.471
  },
  "oklch": {
    "l": 0.45324,
    "c": 0.13096,
    "h": 353.3
  },
  "luminance": 0.0829
}

Semantic roles & 50–950 ramp

primary
#8A305C
secondary
#64B28C
accent
#D89550
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#11070B
muted
#807A7C

Preview Lab

Preview with #8A305C

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

Preview Lab → · Contrast checker → · Palette generator →

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