#8A1F50#8A1F50

#8A1F50 is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.1% C 0.148 H 357.7°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#8A1F50
RGBrgb(138, 31, 80)
HSLhsl(333, 63%, 33%)
HSVhsv(333, 78%, 54%)
CMYKcmyk(0%, 77.5%, 42%, 45.9%)
CIE-LABlab(31.72, 48.02, -2.44)
CIE-LCHlch(31.72, 48.08, 357.09°)
OKLaboklab(43.08% 0.1475 -0.0058)
OKLCHoklch(43.08% 0.148 357.7)
XYZxyz(12.4201, 6.9640, 8.2780)
Luminance0.0696 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1F50 #1F8A59
analogous
#8A1F85 #8A1F50 #8A231F
triadic
#8A1F50 #508A1F #1F508A
tetradic
#8A1F50 #858A1F #1F8A59 #231F8A
square
#8A1F50 #858A1F #1F8A59 #231F8A
split-complementary
#8A1F50 #1F8A23 #1F858A
monochromatic
#260916 #581433 #8A1F50 #BC2A6D #D74C8C

Accessibility & contrast

On white

8.78
#8A1F50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#8A1F50 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1F50
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1F50#FFFFFF#000000##FFFFFF
##8A1F501.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363E51
Deuteranopia (green-blind)
#53524E
Tritanopia (blue-blind)
#960F35
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8a1f50;
/* rgb */ color: rgb(138, 31, 80);
/* oklch */ color: oklch(43.1% 0.148 357.7);
Tailwind
colors: {
  custom: {
    50: '#b16681',
    500: '#8a1f50',
    950: '#000000',
  },
}
SCSS
$custom: #8a1f50;
$custom-light: #b16681;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1f50",
  "rgb": {
    "r": 138,
    "g": 31,
    "b": 80
  },
  "hsl": {
    "h": 332.523,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.43083,
    "c": 0.14763,
    "h": 357.7
  },
  "luminance": 0.06962
}

Semantic roles & 50–950 ramp

primary
#8A1F50
secondary
#4BBA87
accent
#E69B41
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11060A
muted
#807A7C

Preview Lab

Preview with #8A1F50

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

Preview Lab → · Contrast checker → · Palette generator →

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