#8A2148#8A2148

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

Color values

HEX#8A2148
RGBrgb(138, 33, 72)
HSLhsl(338, 61%, 34%)
HSVhsv(338, 76%, 54%)
CMYKcmyk(0%, 76.1%, 47.8%, 45.9%)
CIE-LABlab(31.72, 46.51, 2.80)
CIE-LCHlch(31.72, 46.60, 3.45°)
OKLaboklab(42.99% 0.1425 0.0077)
OKLCHoklch(42.99% 0.143 3.1)
XYZxyz(12.1958, 6.9605, 6.8309)
Luminance0.0696 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2148 #218A63
analogous
#8A217C #8A2148 #8A2E21
triadic
#8A2148 #488A21 #21488A
tetradic
#8A2148 #7C8A21 #218A63 #2E218A
square
#8A2148 #7C8A21 #218A63 #2E218A
split-complementary
#8A2148 #218A2E #217C8A
monochromatic
#270914 #59152E #8A2148 #BB2D62 #D55082

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A2148#FFFFFF#000000##FFFFFF
##8A21481.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)
#393E49
Deuteranopia (green-blind)
#555246
Tritanopia (blue-blind)
#960C32
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8a2148;
/* rgb */ color: rgb(138, 33, 72);
/* oklch */ color: oklch(43.0% 0.143 3.1);
Tailwind
colors: {
  custom: {
    50: '#b1667a',
    500: '#8a2148',
    950: '#000000',
  },
}
SCSS
$custom: #8a2148;
$custom-light: #b1667a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2148",
  "rgb": {
    "r": 138,
    "g": 33,
    "b": 72
  },
  "hsl": {
    "h": 337.714,
    "s": 61.404,
    "l": 33.529
  },
  "oklch": {
    "l": 0.42994,
    "c": 0.14268,
    "h": 3.1
  },
  "luminance": 0.06959
}

Semantic roles & 50–950 ramp

primary
#8A2148
secondary
#4EB991
accent
#E5A943
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120609
muted
#817A7B

Preview Lab

Preview with #8A2148

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

Preview Lab → · Contrast checker → · Palette generator →

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