#8A235E#8A235E

#8A235E is a dark, vivid pink. Relative luminance 0.074; OKLCH L 44.0% C 0.150 H 349.9°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#8A235E
RGBrgb(138, 35, 94)
HSLhsl(326, 60%, 34%)
HSVhsv(326, 75%, 54%)
CMYKcmyk(0%, 74.6%, 31.9%, 45.9%)
CIE-LABlab(32.73, 48.24, -10.04)
CIE-LCHlch(32.73, 49.27, 348.24°)
OKLaboklab(43.99% 0.1473 -0.0262)
OKLCHoklch(43.99% 0.15 349.9)
XYZxyz(13.1033, 7.4150, 11.3287)
Luminance0.0741 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A235E #238A4F
analogous
#83238A #8A235E #8A232B
triadic
#8A235E #5E8A23 #235E8A
tetradic
#8A235E #8A8323 #238A4F #232B8A
square
#8A235E #8A8323 #238A4F #232B8A
split-complementary
#8A235E #2B8A23 #238A83
monochromatic
#280A1B #59173D #8A235E #BB2F7F #D4549D

Accessibility & contrast

On white

8.46
#8A235E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#8A235E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A235E
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A235E#FFFFFF#000000##FFFFFF
##8A235E1.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334160
Deuteranopia (green-blind)
#51545C
Tritanopia (blue-blind)
#941D3D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8a235e;
/* rgb */ color: rgb(138, 35, 94);
/* oklch */ color: oklch(44.0% 0.150 349.9);
Tailwind
colors: {
  custom: {
    50: '#b0688b',
    500: '#8a235e',
    950: '#000000',
  },
}
SCSS
$custom: #8a235e;
$custom-light: #b0688b;
$custom-dark: #000000;
JSON
{
  "hex": "#8a235e",
  "rgb": {
    "r": 138,
    "g": 35,
    "b": 94
  },
  "hsl": {
    "h": 325.631,
    "s": 59.538,
    "l": 33.922
  },
  "oklch": {
    "l": 0.43989,
    "c": 0.1496,
    "h": 349.9
  },
  "luminance": 0.07413
}

Semantic roles & 50–950 ramp

primary
#8A235E
secondary
#51B77D
accent
#E38845
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11070C
muted
#807A7D

Preview Lab

Preview with #8A235E

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

Preview Lab → · Contrast checker → · Palette generator →

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