#8A2366#8A2366

#8A2366 is a dark, vivid pink. Relative luminance 0.076; OKLCH L 44.3% C 0.154 H 345.3°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#8A2366
RGBrgb(138, 35, 102)
HSLhsl(321, 60%, 34%)
HSVhsv(321, 75%, 54%)
CMYKcmyk(0%, 74.6%, 26.1%, 45.9%)
CIE-LABlab(33.06, 49.28, -14.69)
CIE-LCHlch(33.06, 51.42, 343.40°)
OKLaboklab(44.34% 0.1492 -0.039)
OKLCHoklch(44.34% 0.154 345.3)
XYZxyz(13.4811, 7.5661, 13.3182)
Luminance0.0756 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2366 #238A47
analogous
#7B238A #8A2366 #8A2333
triadic
#8A2366 #668A23 #23668A
tetradic
#8A2366 #8A7B23 #238A47 #23338A
square
#8A2366 #8A7B23 #238A47 #23338A
split-complementary
#8A2366 #338A23 #238A7B
monochromatic
#280A1E #591742 #8A2366 #BB2F8A #D454A7

Accessibility & contrast

On white

8.36
#8A2366 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#8A2366 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2366
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2366#FFFFFF#000000##FFFFFF
##8A23661.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304368
Deuteranopia (green-blind)
#4F5464
Tritanopia (blue-blind)
#942141
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8a2366;
/* rgb */ color: rgb(138, 35, 102);
/* oklch */ color: oklch(44.3% 0.154 345.3);
Tailwind
colors: {
  custom: {
    50: '#b06891',
    500: '#8a2366',
    950: '#000000',
  },
}
SCSS
$custom: #8a2366;
$custom-light: #b06891;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2366",
  "rgb": {
    "r": 138,
    "g": 35,
    "b": 102
  },
  "hsl": {
    "h": 320.971,
    "s": 59.538,
    "l": 33.922
  },
  "oklch": {
    "l": 0.44337,
    "c": 0.15424,
    "h": 345.3
  },
  "luminance": 0.07565
}

Semantic roles & 50–950 ramp

primary
#8A2366
secondary
#51B775
accent
#E37C45
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11070D
muted
#807A7D

Preview Lab

Preview with #8A2366

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

Preview Lab → · Contrast checker → · Palette generator →

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