#8A235C#8A235C

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

Color values

HEX#8A235C
RGBrgb(138, 35, 92)
HSLhsl(327, 60%, 34%)
HSVhsv(327, 75%, 54%)
CMYKcmyk(0%, 74.6%, 33.3%, 45.9%)
CIE-LABlab(32.66, 47.99, -8.87)
CIE-LCHlch(32.66, 48.80, 349.53°)
OKLaboklab(43.91% 0.1468 -0.023)
OKLCHoklch(43.91% 0.149 351.1)
XYZxyz(13.0148, 7.3795, 10.8622)
Luminance0.0738 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A235C #238A51
analogous
#85238A #8A235C #8A2329
triadic
#8A235C #5C8A23 #235C8A
tetradic
#8A235C #8A8523 #238A51 #23298A
square
#8A235C #8A8523 #238A51 #23298A
split-complementary
#8A235C #298A23 #238A85
monochromatic
#280A1B #59173B #8A235C #BB2F7D #D4549B

Accessibility & contrast

On white

8.48
#8A235C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A235C
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A235C#FFFFFF#000000##FFFFFF
##8A235C1.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34415E
Deuteranopia (green-blind)
#52535A
Tritanopia (blue-blind)
#951C3C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8a235c;
/* rgb */ color: rgb(138, 35, 92);
/* oklch */ color: oklch(43.9% 0.149 351.1);
Tailwind
colors: {
  custom: {
    50: '#b0688a',
    500: '#8a235c',
    950: '#000000',
  },
}
SCSS
$custom: #8a235c;
$custom-light: #b0688a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a235c",
  "rgb": {
    "r": 138,
    "g": 35,
    "b": 92
  },
  "hsl": {
    "h": 326.796,
    "s": 59.538,
    "l": 33.922
  },
  "oklch": {
    "l": 0.43907,
    "c": 0.14854,
    "h": 351.1
  },
  "luminance": 0.07378
}

Semantic roles & 50–950 ramp

primary
#8A235C
secondary
#51B77F
accent
#E38B45
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11070B
muted
#807A7C

Preview Lab

Preview with #8A235C

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

Preview Lab → · Contrast checker → · Palette generator →

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