#8A236F#8A236F

#8A236F is a dark, vivid pink. Relative luminance 0.078; OKLCH L 44.8% C 0.160 H 340.5°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#8A236F
RGBrgb(138, 35, 111)
HSLhsl(316, 60%, 34%)
HSVhsv(316, 75%, 54%)
CMYKcmyk(0%, 74.6%, 19.6%, 45.9%)
CIE-LABlab(33.47, 50.54, -19.81)
CIE-LCHlch(33.47, 54.28, 338.60°)
OKLaboklab(44.76% 0.1509 -0.0534)
OKLCHoklch(44.76% 0.16 340.5)
XYZxyz(13.9519, 7.7544, 15.7978)
Luminance0.0775 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A236F #238A3E
analogous
#72238A #8A236F #8A233C
triadic
#8A236F #6F8A23 #236F8A
tetradic
#8A236F #8A7223 #238A3E #233C8A
square
#8A236F #8A7223 #238A3E #233C8A
split-complementary
#8A236F #3C8A23 #238A72
monochromatic
#280A20 #591748 #8A236F #BB2F96 #D454B2

Accessibility & contrast

On white

8.23
#8A236F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A236F
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A236F#FFFFFF#000000##FFFFFF
##8A236F1.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4471
Deuteranopia (green-blind)
#4C556D
Tritanopia (blue-blind)
#922646
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8a236f;
/* rgb */ color: rgb(138, 35, 111);
/* oklch */ color: oklch(44.8% 0.160 340.5);
Tailwind
colors: {
  custom: {
    50: '#b06898',
    500: '#8a236f',
    950: '#000000',
  },
}
SCSS
$custom: #8a236f;
$custom-light: #b06898;
$custom-dark: #000000;
JSON
{
  "hex": "#8a236f",
  "rgb": {
    "r": 138,
    "g": 35,
    "b": 111
  },
  "hsl": {
    "h": 315.728,
    "s": 59.538,
    "l": 33.922
  },
  "oklch": {
    "l": 0.44762,
    "c": 0.16009,
    "h": 340.5
  },
  "luminance": 0.07753
}

Semantic roles & 50–950 ramp

primary
#8A236F
secondary
#51B76C
accent
#E36E45
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8A236F

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

Preview Lab → · Contrast checker → · Palette generator →

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