#8A235B#8A235B

#8A235B is a dark, vivid pink. Relative luminance 0.074; OKLCH L 43.9% C 0.148 H 351.7°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#8A235B
RGBrgb(138, 35, 91)
HSLhsl(327, 60%, 34%)
HSVhsv(327, 75%, 54%)
CMYKcmyk(0%, 74.6%, 34.1%, 45.9%)
CIE-LABlab(32.62, 47.87, -8.28)
CIE-LCHlch(32.62, 48.58, 350.19°)
OKLaboklab(43.87% 0.1465 -0.0214)
OKLCHoklch(43.87% 0.148 351.7)
XYZxyz(12.9713, 7.3622, 10.6335)
Luminance0.0736 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A235B #238A52
analogous
#86238A #8A235B #8A2327
triadic
#8A235B #5B8A23 #235B8A
tetradic
#8A235B #8A8623 #238A52 #23278A
square
#8A235B #8A8623 #238A52 #23278A
split-complementary
#8A235B #278A23 #238A86
monochromatic
#280A1B #59173B #8A235B #BB2F7B #D45499

Accessibility & contrast

On white

8.49
#8A235B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#8A235B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A235B
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A235B#FFFFFF#000000##FFFFFF
##8A235B1.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34415D
Deuteranopia (green-blind)
#525359
Tritanopia (blue-blind)
#951B3C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8a235b;
/* rgb */ color: rgb(138, 35, 91);
/* oklch */ color: oklch(43.9% 0.148 351.7);
Tailwind
colors: {
  custom: {
    50: '#b06889',
    500: '#8a235b',
    950: '#000000',
  },
}
SCSS
$custom: #8a235b;
$custom-light: #b06889;
$custom-dark: #000000;
JSON
{
  "hex": "#8a235b",
  "rgb": {
    "r": 138,
    "g": 35,
    "b": 91
  },
  "hsl": {
    "h": 327.379,
    "s": 59.538,
    "l": 33.922
  },
  "oklch": {
    "l": 0.43866,
    "c": 0.14803,
    "h": 351.7
  },
  "luminance": 0.07361
}

Semantic roles & 50–950 ramp

primary
#8A235B
secondary
#51B780
accent
#E38D45
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11070B
muted
#807A7C

Preview Lab

Preview with #8A235B

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

Preview Lab → · Contrast checker → · Palette generator →

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