#8A305F#8A305F

#8A305F is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.4% C 0.133 H 351.3°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#8A305F
RGBrgb(138, 48, 95)
HSLhsl(329, 48%, 36%)
HSVhsv(329, 65%, 54%)
CMYKcmyk(0%, 65.2%, 31.2%, 45.9%)
CIE-LABlab(34.69, 43.05, -7.74)
CIE-LCHlch(34.69, 43.74, 349.81°)
OKLaboklab(45.44% 0.131 -0.02)
OKLCHoklch(45.44% 0.133 351.3)
XYZxyz(13.6044, 8.3448, 11.7185)
Luminance0.0834 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A305F #308A5B
analogous
#88308A #8A305F #8A3032
triadic
#8A305F #5F8A30 #305F8A
tetradic
#8A305F #8A8830 #308A5B #30328A
square
#8A305F #8A8830 #308A5B #30328A
split-complementary
#8A305F #328A30 #308A88
monochromatic
#2F1020 #5D2040 #8A305F #B7407E #CB699C

Accessibility & contrast

On white

7.87
#8A305F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#8A305F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A305F
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A305F#FFFFFF#000000##FFFFFF
##8A305F1.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4760
Deuteranopia (green-blind)
#56585D
Tritanopia (blue-blind)
#942B43
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8a305f;
/* rgb */ color: rgb(138, 48, 95);
/* oklch */ color: oklch(45.4% 0.133 351.3);
Tailwind
colors: {
  custom: {
    50: '#af6e8c',
    500: '#8a305f',
    950: '#000000',
  },
}
SCSS
$custom: #8a305f;
$custom-light: #af6e8c;
$custom-dark: #000000;
JSON
{
  "hex": "#8a305f",
  "rgb": {
    "r": 138,
    "g": 48,
    "b": 95
  },
  "hsl": {
    "h": 328.667,
    "s": 48.387,
    "l": 36.471
  },
  "oklch": {
    "l": 0.4544,
    "c": 0.13252,
    "h": 351.3
  },
  "luminance": 0.08343
}

Semantic roles & 50–950 ramp

primary
#8A305F
secondary
#64B289
accent
#D89150
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#11070C
muted
#807A7D

Preview Lab

Preview with #8A305F

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

Preview Lab → · Contrast checker → · Palette generator →

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