#8A2F4B#8A2F4B

#8A2F4B is a dark, vivid pink. Relative luminance 0.079; OKLCH L 44.6% C 0.126 H 4.8°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#8A2F4B
RGBrgb(138, 47, 75)
HSLhsl(342, 49%, 36%)
HSVhsv(342, 66%, 54%)
CMYKcmyk(0%, 65.9%, 45.7%, 45.9%)
CIE-LABlab(33.87, 41.12, 3.94)
CIE-LCHlch(33.87, 41.31, 5.47°)
OKLaboklab(44.62% 0.1255 0.0106)
OKLCHoklch(44.62% 0.126 4.8)
XYZxyz(12.7687, 7.9458, 7.5165)
Luminance0.0794 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2F4B #2F8A6E
analogous
#8A2F79 #8A2F4B #8A412F
triadic
#8A2F4B #4B8A2F #2F4B8A
tetradic
#8A2F4B #798A2F #2F8A6E #412F8A
square
#8A2F4B #798A2F #2F8A6E #412F8A
split-complementary
#8A2F4B #2F8A41 #2F798A
monochromatic
#2F1019 #5C1F32 #8A2F4B #B83F64 #CC6887

Accessibility & contrast

On white

8.11
#8A2F4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#8A2F4B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2F4B
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2F4B#FFFFFF#000000##FFFFFF
##8A2F4B1.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42444C
Deuteranopia (green-blind)
#5A5649
Tritanopia (blue-blind)
#96233A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8a2f4b;
/* rgb */ color: rgb(138, 47, 75);
/* oklch */ color: oklch(44.6% 0.126 4.8);
Tailwind
colors: {
  custom: {
    50: '#b06d7d',
    500: '#8a2f4b',
    950: '#000000',
  },
}
SCSS
$custom: #8a2f4b;
$custom-light: #b06d7d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2f4b",
  "rgb": {
    "r": 138,
    "g": 47,
    "b": 75
  },
  "hsl": {
    "h": 341.538,
    "s": 49.189,
    "l": 36.275
  },
  "oklch": {
    "l": 0.44617,
    "c": 0.12589,
    "h": 4.8
  },
  "luminance": 0.07944
}

Semantic roles & 50–950 ramp

primary
#8A2F4B
secondary
#62B39A
accent
#D9AE4F
background
#FBF6F7
surface
#F6ECEE
border
#D0C7C9
text
#110709
muted
#807A7B

Preview Lab

Preview with #8A2F4B

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

Preview Lab → · Contrast checker → · Palette generator →

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