#8A235A#8A235A

#8A235A is a dark, vivid pink. Relative luminance 0.073; OKLCH L 43.8% C 0.148 H 352.3°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#8A235A
RGBrgb(138, 35, 90)
HSLhsl(328, 60%, 34%)
HSVhsv(328, 75%, 54%)
CMYKcmyk(0%, 74.6%, 34.8%, 45.9%)
CIE-LABlab(32.58, 47.75, -7.69)
CIE-LCHlch(32.58, 48.36, 350.85°)
OKLaboklab(43.83% 0.1462 -0.0198)
OKLCHoklch(43.83% 0.148 352.3)
XYZxyz(12.9285, 7.3450, 10.4078)
Luminance0.0734 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A235A #238A53
analogous
#87238A #8A235A #8A2327
triadic
#8A235A #5A8A23 #235A8A
tetradic
#8A235A #8A8723 #238A53 #23278A
square
#8A235A #8A8723 #238A53 #23278A
split-complementary
#8A235A #278A23 #238A87
monochromatic
#280A1A #59173A #8A235A #BB2F7A #D45498

Accessibility & contrast

On white

8.51
#8A235A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A235A
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A235A#FFFFFF#000000##FFFFFF
##8A235A1.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35415B
Deuteranopia (green-blind)
#525358
Tritanopia (blue-blind)
#951B3B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8a235a;
/* rgb */ color: rgb(138, 35, 90);
/* oklch */ color: oklch(43.8% 0.148 352.3);
Tailwind
colors: {
  custom: {
    50: '#b06888',
    500: '#8a235a',
    950: '#000000',
  },
}
SCSS
$custom: #8a235a;
$custom-light: #b06888;
$custom-dark: #000000;
JSON
{
  "hex": "#8a235a",
  "rgb": {
    "r": 138,
    "g": 35,
    "b": 90
  },
  "hsl": {
    "h": 327.961,
    "s": 59.538,
    "l": 33.922
  },
  "oklch": {
    "l": 0.43826,
    "c": 0.14752,
    "h": 352.3
  },
  "luminance": 0.07344
}

Semantic roles & 50–950 ramp

primary
#8A235A
secondary
#51B781
accent
#E38F45
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11070B
muted
#807A7C

Preview Lab

Preview with #8A235A

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

Preview Lab → · Contrast checker → · Palette generator →

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