#8A2F48#8A2F48

#8A2F48 is a dark, vivid pink. Relative luminance 0.079; OKLCH L 44.5% C 0.125 H 6.9°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#8A2F48
RGBrgb(138, 47, 72)
HSLhsl(344, 49%, 36%)
HSVhsv(344, 66%, 54%)
CMYKcmyk(0%, 65.9%, 47.8%, 45.9%)
CIE-LABlab(33.79, 40.81, 5.76)
CIE-LCHlch(33.79, 41.22, 8.03°)
OKLaboklab(44.53% 0.1243 0.0151)
OKLCHoklch(44.53% 0.125 6.9)
XYZxyz(12.6684, 7.9057, 6.9885)
Luminance0.0790 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2F48 #2F8A71
analogous
#8A2F76 #8A2F48 #8A442F
triadic
#8A2F48 #488A2F #2F488A
tetradic
#8A2F48 #768A2F #2F8A71 #442F8A
square
#8A2F48 #768A2F #2F8A71 #442F8A
split-complementary
#8A2F48 #2F8A44 #2F768A
monochromatic
#2F1018 #5C1F30 #8A2F48 #B83F60 #CC6883

Accessibility & contrast

On white

8.14
#8A2F48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#8A2F48 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2F48
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2F48#FFFFFF#000000##FFFFFF
##8A2F481.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434449
Deuteranopia (green-blind)
#5A5646
Tritanopia (blue-blind)
#962239
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8a2f48;
/* rgb */ color: rgb(138, 47, 72);
/* oklch */ color: oklch(44.5% 0.125 6.9);
Tailwind
colors: {
  custom: {
    50: '#b16d7a',
    500: '#8a2f48',
    950: '#000000',
  },
}
SCSS
$custom: #8a2f48;
$custom-light: #b16d7a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2f48",
  "rgb": {
    "r": 138,
    "g": 47,
    "b": 72
  },
  "hsl": {
    "h": 343.516,
    "s": 49.189,
    "l": 36.275
  },
  "oklch": {
    "l": 0.44527,
    "c": 0.1252,
    "h": 6.9
  },
  "luminance": 0.07904
}

Semantic roles & 50–950 ramp

primary
#8A2F48
secondary
#62B39C
accent
#D9B34F
background
#FBF6F7
surface
#F6ECED
border
#D0C7C8
text
#110709
muted
#807A7B

Preview Lab

Preview with #8A2F48

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

Preview Lab → · Contrast checker → · Palette generator →

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