#8A2245#8A2245

#8A2245 is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.0% C 0.141 H 5.2°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#8A2245
RGBrgb(138, 34, 69)
HSLhsl(340, 60%, 34%)
HSVhsv(340, 75%, 54%)
CMYKcmyk(0%, 75.4%, 50%, 45.9%)
CIE-LABlab(31.76, 45.87, 4.83)
CIE-LCHlch(31.76, 46.12, 6.02°)
OKLaboklab(43% 0.1402 0.0128)
OKLCHoklch(43% 0.141 5.2)
XYZxyz(12.1285, 6.9786, 6.3374)
Luminance0.0698 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2245 #228A67
analogous
#8A2279 #8A2245 #8A3322
triadic
#8A2245 #458A22 #22458A
tetradic
#8A2245 #798A22 #228A67 #33228A
square
#8A2245 #798A22 #228A67 #33228A
split-complementary
#8A2245 #228A33 #22798A
monochromatic
#280A14 #59162C #8A2245 #BB2E5E #D4527E

Accessibility & contrast

On white

8.77
#8A2245 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#8A2245 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2245
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2245#FFFFFF#000000##FFFFFF
##8A22451.008.772.408.77
#FFFFFF8.771.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3E46
Deuteranopia (green-blind)
#565243
Tritanopia (blue-blind)
#970C31
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8a2245;
/* rgb */ color: rgb(138, 34, 69);
/* oklch */ color: oklch(43.0% 0.141 5.2);
Tailwind
colors: {
  custom: {
    50: '#b16778',
    500: '#8a2245',
    950: '#000000',
  },
}
SCSS
$custom: #8a2245;
$custom-light: #b16778;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2245",
  "rgb": {
    "r": 138,
    "g": 34,
    "b": 69
  },
  "hsl": {
    "h": 339.808,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.42996,
    "c": 0.14075,
    "h": 5.2
  },
  "luminance": 0.06977
}

Semantic roles & 50–950 ramp

primary
#8A2245
secondary
#50B895
accent
#E4AE44
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8A2245

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

Preview Lab → · Contrast checker → · Palette generator →

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