#8A345B#8A345B

#8A345B is a mid, vivid pink. Relative luminance 0.086; OKLCH L 45.8% C 0.124 H 354.9°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#8A345B
RGBrgb(138, 52, 91)
HSLhsl(333, 45%, 37%)
HSVhsv(333, 62%, 54%)
CMYKcmyk(0%, 62.3%, 34.1%, 45.9%)
CIE-LABlab(35.23, 40.67, -4.37)
CIE-LCHlch(35.23, 40.90, 353.87°)
OKLaboklab(45.8% 0.1239 -0.011)
OKLCHoklch(45.8% 0.124 354.9)
XYZxyz(13.5982, 8.6160, 10.8424)
Luminance0.0862 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A345B #348A63
analogous
#8A3486 #8A345B #8A3834
triadic
#8A345B #5B8A34 #345B8A
tetradic
#8A345B #868A34 #348A63 #38348A
square
#8A345B #868A34 #348A63 #38348A
split-complementary
#8A345B #348A38 #34868A
monochromatic
#311320 #5E233E #8A345B #B64578 #C96F98

Accessibility & contrast

On white

7.71
#8A345B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#8A345B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A345B
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A345B#FFFFFF#000000##FFFFFF
##8A345B1.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41495C
Deuteranopia (green-blind)
#595959
Tritanopia (blue-blind)
#942E43
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8a345b;
/* rgb */ color: rgb(138, 52, 91);
/* oklch */ color: oklch(45.8% 0.124 354.9);
Tailwind
colors: {
  custom: {
    50: '#af7089',
    500: '#8a345b',
    950: '#000000',
  },
}
SCSS
$custom: #8a345b;
$custom-light: #af7089;
$custom-dark: #000000;
JSON
{
  "hex": "#8a345b",
  "rgb": {
    "r": 138,
    "g": 52,
    "b": 91
  },
  "hsl": {
    "h": 332.791,
    "s": 45.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.45796,
    "c": 0.12443,
    "h": 354.9
  },
  "luminance": 0.08615
}

Semantic roles & 50–950 ramp

primary
#8A345B
secondary
#69B190
accent
#D59A53
background
#FBF7F8
surface
#F6EDF0
border
#D0C8CB
text
#11080B
muted
#807B7C

Preview Lab

Preview with #8A345B

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

Preview Lab → · Contrast checker → · Palette generator →

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