#8A305B#8A305B

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

Color values

HEX#8A305B
RGBrgb(138, 48, 91)
HSLhsl(331, 48%, 36%)
HSVhsv(331, 65%, 54%)
CMYKcmyk(0%, 65.2%, 34.1%, 45.9%)
CIE-LABlab(34.55, 42.53, -5.39)
CIE-LCHlch(34.55, 42.87, 352.78°)
OKLaboklab(45.29% 0.1297 -0.0137)
OKLCHoklch(45.29% 0.13 354)
XYZxyz(13.4272, 8.2740, 10.7854)
Luminance0.0827 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A305B #308A5F
analogous
#8A3088 #8A305B #8A3230
triadic
#8A305B #5B8A30 #305B8A
tetradic
#8A305B #888A30 #308A5F #32308A
square
#8A305B #888A30 #308A5F #32308A
split-complementary
#8A305B #308A32 #30888A
monochromatic
#2F101F #5D203D #8A305B #B74079 #CB6998

Accessibility & contrast

On white

7.91
#8A305B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#8A305B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A305B
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A305B#FFFFFF#000000##FFFFFF
##8A305B1.007.912.657.91
#FFFFFF7.911.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E475C
Deuteranopia (green-blind)
#575759
Tritanopia (blue-blind)
#942A41
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8a305b;
/* rgb */ color: rgb(138, 48, 91);
/* oklch */ color: oklch(45.3% 0.130 354.0);
Tailwind
colors: {
  custom: {
    50: '#b06e89',
    500: '#8a305b',
    950: '#000000',
  },
}
SCSS
$custom: #8a305b;
$custom-light: #b06e89;
$custom-dark: #000000;
JSON
{
  "hex": "#8a305b",
  "rgb": {
    "r": 138,
    "g": 48,
    "b": 91
  },
  "hsl": {
    "h": 331.333,
    "s": 48.387,
    "l": 36.471
  },
  "oklch": {
    "l": 0.45287,
    "c": 0.13046,
    "h": 354
  },
  "luminance": 0.08273
}

Semantic roles & 50–950 ramp

primary
#8A305B
secondary
#64B28D
accent
#D89750
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#11070B
muted
#807A7C

Preview Lab

Preview with #8A305B

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

Preview Lab → · Contrast checker → · Palette generator →

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