#8A1751#8A1751

#8A1751 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.5% C 0.156 H 356.1°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#8A1751
RGBrgb(138, 23, 81)
HSLhsl(330, 71%, 32%)
HSVhsv(330, 83%, 54%)
CMYKcmyk(0%, 83.3%, 41.3%, 45.9%)
CIE-LABlab(30.91, 50.54, -4.31)
CIE-LCHlch(30.91, 50.73, 355.12°)
OKLaboklab(42.5% 0.1556 -0.0107)
OKLCHoklch(42.5% 0.156 356.1)
XYZxyz(12.2737, 6.6118, 8.4129)
Luminance0.0661 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1751 #178A50
analogous
#8A178A #8A1751 #8A1718
triadic
#8A1751 #518A17 #17518A
tetradic
#8A1751 #8A8A17 #178A50 #17188A
square
#8A1751 #8A8A17 #178A50 #17188A
split-complementary
#8A1751 #188A17 #178A8A
monochromatic
#210613 #560E32 #8A1751 #BE2070 #DF3D8E

Accessibility & contrast

On white

9.04
#8A1751 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#8A1751 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1751
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1751#FFFFFF#000000##FFFFFF
##8A17511.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313B52
Deuteranopia (green-blind)
#51504E
Tritanopia (blue-blind)
#960132
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8a1751;
/* rgb */ color: rgb(138, 23, 81);
/* oklch */ color: oklch(42.5% 0.156 356.1);
Tailwind
colors: {
  custom: {
    50: '#b16381',
    500: '#8a1751',
    950: '#000000',
  },
}
SCSS
$custom: #8a1751;
$custom-light: #b16381;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1751",
  "rgb": {
    "r": 138,
    "g": 23,
    "b": 81
  },
  "hsl": {
    "h": 329.739,
    "s": 71.429,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42495,
    "c": 0.15596,
    "h": 356.1
  },
  "luminance": 0.0661
}

Semantic roles & 50–950 ramp

primary
#8A1751
secondary
#3FBE7E
accent
#EE933A
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11060A
muted
#807A7C

Preview Lab

Preview with #8A1751

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

Preview Lab → · Contrast checker → · Palette generator →

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