#8A236E#8A236E

#8A236E is a dark, vivid pink. Relative luminance 0.077; OKLCH L 44.7% C 0.159 H 341.0°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#8A236E
RGBrgb(138, 35, 110)
HSLhsl(316, 60%, 34%)
HSVhsv(316, 75%, 54%)
CMYKcmyk(0%, 74.6%, 20.3%, 45.9%)
CIE-LABlab(33.42, 50.40, -19.24)
CIE-LCHlch(33.42, 53.94, 339.10°)
OKLaboklab(44.71% 0.1508 -0.0518)
OKLCHoklch(44.71% 0.159 341)
XYZxyz(13.8972, 7.7325, 15.5095)
Luminance0.0773 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A236E #238A3F
analogous
#73238A #8A236E #8A233A
triadic
#8A236E #6E8A23 #236E8A
tetradic
#8A236E #8A7323 #238A3F #233A8A
square
#8A236E #8A7323 #238A3F #233A8A
split-complementary
#8A236E #3A8A23 #238A73
monochromatic
#280A20 #591747 #8A236E #BB2F95 #D454B1

Accessibility & contrast

On white

8.25
#8A236E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#8A236E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A236E
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A236E#FFFFFF#000000##FFFFFF
##8A236E1.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4470
Deuteranopia (green-blind)
#4C556C
Tritanopia (blue-blind)
#932545
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8a236e;
/* rgb */ color: rgb(138, 35, 110);
/* oklch */ color: oklch(44.7% 0.159 341.0);
Tailwind
colors: {
  custom: {
    50: '#b06897',
    500: '#8a236e',
    950: '#000000',
  },
}
SCSS
$custom: #8a236e;
$custom-light: #b06897;
$custom-dark: #000000;
JSON
{
  "hex": "#8a236e",
  "rgb": {
    "r": 138,
    "g": 35,
    "b": 110
  },
  "hsl": {
    "h": 316.311,
    "s": 59.538,
    "l": 33.922
  },
  "oklch": {
    "l": 0.44713,
    "c": 0.15941,
    "h": 341
  },
  "luminance": 0.07731
}

Semantic roles & 50–950 ramp

primary
#8A236E
secondary
#51B76D
accent
#E37045
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8A236E

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

Preview Lab → · Contrast checker → · Palette generator →

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