#8A234C#8A234C

#8A234C is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.3% C 0.142 H 1.0°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#8A234C
RGBrgb(138, 35, 76)
HSLhsl(336, 60%, 34%)
HSVhsv(336, 75%, 54%)
CMYKcmyk(0%, 74.6%, 44.9%, 45.9%)
CIE-LABlab(32.10, 46.19, 0.73)
CIE-LCHlch(32.10, 46.19, 0.90°)
OKLaboklab(43.32% 0.1416 0.0024)
OKLCHoklch(43.32% 0.142 1)
XYZxyz(12.3877, 7.1287, 7.5597)
Luminance0.0713 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A234C #238A61
analogous
#8A2380 #8A234C #8A2E23
triadic
#8A234C #4C8A23 #234C8A
tetradic
#8A234C #808A23 #238A61 #2E238A
square
#8A234C #808A23 #238A61 #2E238A
split-complementary
#8A234C #238A2E #23808A
monochromatic
#280A16 #591731 #8A234C #BB2F67 #D45487

Accessibility & contrast

On white

8.66
#8A234C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#8A234C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A234C
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A234C#FFFFFF#000000##FFFFFF
##8A234C1.008.662.438.66
#FFFFFF8.661.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393F4D
Deuteranopia (green-blind)
#55534A
Tritanopia (blue-blind)
#961334
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8a234c;
/* rgb */ color: rgb(138, 35, 76);
/* oklch */ color: oklch(43.3% 0.142 1.0);
Tailwind
colors: {
  custom: {
    50: '#b1677d',
    500: '#8a234c',
    950: '#000000',
  },
}
SCSS
$custom: #8a234c;
$custom-light: #b1677d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a234c",
  "rgb": {
    "r": 138,
    "g": 35,
    "b": 76
  },
  "hsl": {
    "h": 336.117,
    "s": 59.538,
    "l": 33.922
  },
  "oklch": {
    "l": 0.43315,
    "c": 0.14163,
    "h": 1
  },
  "luminance": 0.07127
}

Semantic roles & 50–950 ramp

primary
#8A234C
secondary
#51B78F
accent
#E3A445
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#110609
muted
#807A7B

Preview Lab

Preview with #8A234C

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

Preview Lab → · Contrast checker → · Palette generator →

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