#8A2378#8A2378

#8A2378 is a mid, vivid pink. Relative luminance 0.080; OKLCH L 45.2% C 0.166 H 336.0°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#8A2378
RGBrgb(138, 35, 120)
HSLhsl(310, 60%, 34%)
HSVhsv(310, 75%, 54%)
CMYKcmyk(0%, 74.6%, 13%, 45.9%)
CIE-LABlab(33.91, 51.89, -24.81)
CIE-LCHlch(33.91, 57.52, 334.45°)
OKLaboklab(45.22% 0.1521 -0.0676)
OKLCHoklch(45.22% 0.166 336)
XYZxyz(14.4726, 7.9627, 18.5404)
Luminance0.0796 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2378 #238A35
analogous
#69238A #8A2378 #8A2345
triadic
#8A2378 #788A23 #23788A
tetradic
#8A2378 #8A6923 #238A35 #23458A
square
#8A2378 #8A6923 #238A35 #23458A
split-complementary
#8A2378 #458A23 #238A69
monochromatic
#280A23 #59174E #8A2378 #BB2FA2 #D454BD

Accessibility & contrast

On white

8.10
#8A2378 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#8A2378 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2378
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2378#FFFFFF#000000##FFFFFF
##8A23781.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24467A
Deuteranopia (green-blind)
#485576
Tritanopia (blue-blind)
#912A4B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8a2378;
/* rgb */ color: rgb(138, 35, 120);
/* oklch */ color: oklch(45.2% 0.166 336.0);
Tailwind
colors: {
  custom: {
    50: '#b0699f',
    500: '#8a2378',
    950: '#000000',
  },
}
SCSS
$custom: #8a2378;
$custom-light: #b0699f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2378",
  "rgb": {
    "r": 138,
    "g": 35,
    "b": 120
  },
  "hsl": {
    "h": 310.485,
    "s": 59.538,
    "l": 33.922
  },
  "oklch": {
    "l": 0.45223,
    "c": 0.16647,
    "h": 336
  },
  "luminance": 0.07961
}

Semantic roles & 50–950 ramp

primary
#8A2378
secondary
#51B763
accent
#E36145
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8A2378

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

Preview Lab → · Contrast checker → · Palette generator →

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