#8A235D#8A235D

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

Color values

HEX#8A235D
RGBrgb(138, 35, 93)
HSLhsl(326, 60%, 34%)
HSVhsv(326, 75%, 54%)
CMYKcmyk(0%, 74.6%, 32.6%, 45.9%)
CIE-LABlab(32.69, 48.11, -9.46)
CIE-LCHlch(32.69, 49.03, 348.88°)
OKLaboklab(43.95% 0.147 -0.0246)
OKLCHoklch(43.95% 0.149 350.5)
XYZxyz(13.0588, 7.3971, 11.0939)
Luminance0.0740 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A235D #238A50
analogous
#84238A #8A235D #8A2329
triadic
#8A235D #5D8A23 #235D8A
tetradic
#8A235D #8A8423 #238A50 #23298A
square
#8A235D #8A8423 #238A50 #23298A
split-complementary
#8A235D #298A23 #238A84
monochromatic
#280A1B #59173C #8A235D #BB2F7E #D4549C

Accessibility & contrast

On white

8.47
#8A235D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A235D
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A235D#FFFFFF#000000##FFFFFF
##8A235D1.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34415F
Deuteranopia (green-blind)
#51545B
Tritanopia (blue-blind)
#941C3D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8a235d;
/* rgb */ color: rgb(138, 35, 93);
/* oklch */ color: oklch(43.9% 0.149 350.5);
Tailwind
colors: {
  custom: {
    50: '#b0688b',
    500: '#8a235d',
    950: '#000000',
  },
}
SCSS
$custom: #8a235d;
$custom-light: #b0688b;
$custom-dark: #000000;
JSON
{
  "hex": "#8a235d",
  "rgb": {
    "r": 138,
    "g": 35,
    "b": 93
  },
  "hsl": {
    "h": 326.214,
    "s": 59.538,
    "l": 33.922
  },
  "oklch": {
    "l": 0.43948,
    "c": 0.14907,
    "h": 350.5
  },
  "luminance": 0.07396
}

Semantic roles & 50–950 ramp

primary
#8A235D
secondary
#51B77E
accent
#E38A45
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11070B
muted
#807A7C

Preview Lab

Preview with #8A235D

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

Preview Lab → · Contrast checker → · Palette generator →

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