#8A236A#8A236A

#8A236A is a dark, vivid pink. Relative luminance 0.076; OKLCH L 44.5% C 0.157 H 343.2°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#8A236A
RGBrgb(138, 35, 106)
HSLhsl(319, 60%, 34%)
HSVhsv(319, 75%, 54%)
CMYKcmyk(0%, 74.6%, 23.2%, 45.9%)
CIE-LABlab(33.24, 49.83, -16.98)
CIE-LCHlch(33.24, 52.64, 341.18°)
OKLaboklab(44.52% 0.15 -0.0454)
OKLCHoklch(44.52% 0.157 343.2)
XYZxyz(13.6843, 7.6474, 14.3883)
Luminance0.0765 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A236A #238A43
analogous
#77238A #8A236A #8A2337
triadic
#8A236A #6A8A23 #236A8A
tetradic
#8A236A #8A7723 #238A43 #23378A
square
#8A236A #8A7723 #238A43 #23378A
split-complementary
#8A236A #378A23 #238A77
monochromatic
#280A1F #591745 #8A236A #BB2F8F #D454AC

Accessibility & contrast

On white

8.30
#8A236A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#8A236A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A236A
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A236A#FFFFFF#000000##FFFFFF
##8A236A1.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E436C
Deuteranopia (green-blind)
#4D5468
Tritanopia (blue-blind)
#932343
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8a236a;
/* rgb */ color: rgb(138, 35, 106);
/* oklch */ color: oklch(44.5% 0.157 343.2);
Tailwind
colors: {
  custom: {
    50: '#b06894',
    500: '#8a236a',
    950: '#000000',
  },
}
SCSS
$custom: #8a236a;
$custom-light: #b06894;
$custom-dark: #000000;
JSON
{
  "hex": "#8a236a",
  "rgb": {
    "r": 138,
    "g": 35,
    "b": 106
  },
  "hsl": {
    "h": 318.641,
    "s": 59.538,
    "l": 33.922
  },
  "oklch": {
    "l": 0.44521,
    "c": 0.15677,
    "h": 343.2
  },
  "luminance": 0.07646
}

Semantic roles & 50–950 ramp

primary
#8A236A
secondary
#51B771
accent
#E37645
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8A236A

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

Preview Lab → · Contrast checker → · Palette generator →

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