#8A2374#8A2374

#8A2374 is a mid, vivid pink. Relative luminance 0.079; OKLCH L 45.0% C 0.164 H 338.0°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#8A2374
RGBrgb(138, 35, 116)
HSLhsl(313, 60%, 34%)
HSVhsv(313, 75%, 54%)
CMYKcmyk(0%, 74.6%, 15.9%, 45.9%)
CIE-LABlab(33.71, 51.28, -22.60)
CIE-LCHlch(33.71, 56.04, 336.21°)
OKLaboklab(45.01% 0.1516 -0.0613)
OKLCHoklch(45.01% 0.164 338)
XYZxyz(14.2350, 7.8676, 17.2885)
Luminance0.0787 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2374 #238A39
analogous
#6D238A #8A2374 #8A2340
triadic
#8A2374 #748A23 #23748A
tetradic
#8A2374 #8A6D23 #238A39 #23408A
square
#8A2374 #8A6D23 #238A39 #23408A
split-complementary
#8A2374 #408A23 #238A6D
monochromatic
#280A22 #59174B #8A2374 #BB2F9D #D454B8

Accessibility & contrast

On white

8.16
#8A2374 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#8A2374 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2374
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2374#FFFFFF#000000##FFFFFF
##8A23741.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274576
Deuteranopia (green-blind)
#4A5572
Tritanopia (blue-blind)
#922849
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8a2374;
/* rgb */ color: rgb(138, 35, 116);
/* oklch */ color: oklch(45.0% 0.164 338.0);
Tailwind
colors: {
  custom: {
    50: '#b0699c',
    500: '#8a2374',
    950: '#000000',
  },
}
SCSS
$custom: #8a2374;
$custom-light: #b0699c;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2374",
  "rgb": {
    "r": 138,
    "g": 35,
    "b": 116
  },
  "hsl": {
    "h": 312.816,
    "s": 59.538,
    "l": 33.922
  },
  "oklch": {
    "l": 0.45014,
    "c": 0.16357,
    "h": 338
  },
  "luminance": 0.07866
}

Semantic roles & 50–950 ramp

primary
#8A2374
secondary
#51B767
accent
#E36745
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8A2374

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

Preview Lab → · Contrast checker → · Palette generator →

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