#8A1850#8A1850

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

Color values

HEX#8A1850
RGBrgb(138, 24, 80)
HSLhsl(331, 70%, 32%)
HSVhsv(331, 83%, 54%)
CMYKcmyk(0%, 82.6%, 42%, 45.9%)
CIE-LABlab(30.97, 50.17, -3.56)
CIE-LCHlch(30.97, 50.29, 355.94°)
OKLaboklab(42.53% 0.1544 -0.0087)
OKLCHoklch(42.53% 0.155 356.8)
XYZxyz(12.2567, 6.6373, 8.2236)
Luminance0.0664 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1850 #188A52
analogous
#8A1889 #8A1850 #8A1918
triadic
#8A1850 #508A18 #18508A
tetradic
#8A1850 #898A18 #188A52 #19188A
square
#8A1850 #898A18 #188A52 #19188A
split-complementary
#8A1850 #188A19 #18898A
monochromatic
#220614 #560F32 #8A1850 #BE216E #DE3F8D

Accessibility & contrast

On white

9.02
#8A1850 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#8A1850 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1850
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1850#FFFFFF#000000##FFFFFF
##8A18501.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323B51
Deuteranopia (green-blind)
#51504D
Tritanopia (blue-blind)
#960132
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8a1850;
/* rgb */ color: rgb(138, 24, 80);
/* oklch */ color: oklch(42.5% 0.155 356.8);
Tailwind
colors: {
  custom: {
    50: '#b16381',
    500: '#8a1850',
    950: '#000000',
  },
}
SCSS
$custom: #8a1850;
$custom-light: #b16381;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1850",
  "rgb": {
    "r": 138,
    "g": 24,
    "b": 80
  },
  "hsl": {
    "h": 330.526,
    "s": 70.37,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42528,
    "c": 0.15465,
    "h": 356.8
  },
  "luminance": 0.06636
}

Semantic roles & 50–950 ramp

primary
#8A1850
secondary
#40BD80
accent
#ED953B
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11060A
muted
#807A7C

Preview Lab

Preview with #8A1850

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

Preview Lab → · Contrast checker → · Palette generator →

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