#8A236D#8A236D

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

Color values

HEX#8A236D
RGBrgb(138, 35, 109)
HSLhsl(317, 60%, 34%)
HSVhsv(317, 75%, 54%)
CMYKcmyk(0%, 74.6%, 21%, 45.9%)
CIE-LABlab(33.37, 50.25, -18.68)
CIE-LCHlch(33.37, 53.61, 339.61°)
OKLaboklab(44.66% 0.1506 -0.0502)
OKLCHoklch(44.66% 0.159 341.6)
XYZxyz(13.8430, 7.7109, 15.2243)
Luminance0.0771 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A236D #238A40
analogous
#74238A #8A236D #8A233A
triadic
#8A236D #6D8A23 #236D8A
tetradic
#8A236D #8A7423 #238A40 #233A8A
square
#8A236D #8A7423 #238A40 #233A8A
split-complementary
#8A236D #3A8A23 #238A74
monochromatic
#280A20 #591746 #8A236D #BB2F94 #D454B0

Accessibility & contrast

On white

8.26
#8A236D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#8A236D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A236D
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A236D#FFFFFF#000000##FFFFFF
##8A236D1.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C446F
Deuteranopia (green-blind)
#4C546B
Tritanopia (blue-blind)
#932545
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8a236d;
/* rgb */ color: rgb(138, 35, 109);
/* oklch */ color: oklch(44.7% 0.159 341.6);
Tailwind
colors: {
  custom: {
    50: '#b06897',
    500: '#8a236d',
    950: '#000000',
  },
}
SCSS
$custom: #8a236d;
$custom-light: #b06897;
$custom-dark: #000000;
JSON
{
  "hex": "#8a236d",
  "rgb": {
    "r": 138,
    "g": 35,
    "b": 109
  },
  "hsl": {
    "h": 316.893,
    "s": 59.538,
    "l": 33.922
  },
  "oklch": {
    "l": 0.44664,
    "c": 0.15874,
    "h": 341.6
  },
  "luminance": 0.07709
}

Semantic roles & 50–950 ramp

primary
#8A236D
secondary
#51B76E
accent
#E37145
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8A236D

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

Preview Lab → · Contrast checker → · Palette generator →

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