#AC2862#AC2862

#AC2862 is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.4% C 0.173 H 359.1°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#AC2862
RGBrgb(172, 40, 98)
HSLhsl(334, 62%, 42%)
HSVhsv(334, 77%, 67%)
CMYKcmyk(0%, 76.7%, 43%, 32.5%)
CIE-LABlab(39.87, 56.47, -1.28)
CIE-LCHlch(39.87, 56.48, 358.70°)
OKLaboklab(50.44% 0.1735 -0.0027)
OKLCHoklch(50.44% 0.174 359.1)
XYZxyz(19.9782, 11.1727, 12.6574)
Luminance0.1117 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2862 #28AC72
analogous
#AC28A4 #AC2862 #AC3028
triadic
#AC2862 #62AC28 #2862AC
tetradic
#AC2862 #A4AC28 #28AC72 #3028AC
square
#AC2862 #A4AC28 #28AC72 #3028AC
split-complementary
#AC2862 #28AC30 #28A4AC
monochromatic
#491129 #7A1C46 #AC2862 #D23F80 #DE71A1

Accessibility & contrast

On white

6.49
#AC2862 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#AC2862 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2862
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2862#FFFFFF#000000##FFFFFF
##AC28621.006.493.236.49
#FFFFFF6.491.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454E63
Deuteranopia (green-blind)
#69675F
Tritanopia (blue-blind)
#BB1142
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #ac2862;
/* rgb */ color: rgb(172, 40, 98);
/* oklch */ color: oklch(50.4% 0.173 359.1);
Tailwind
colors: {
  custom: {
    50: '#ca6f8e',
    500: '#ac2862',
    950: '#000000',
  },
}
SCSS
$custom: #ac2862;
$custom-light: #ca6f8e;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2862",
  "rgb": {
    "r": 172,
    "g": 40,
    "b": 98
  },
  "hsl": {
    "h": 333.636,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.50441,
    "c": 0.1735,
    "h": 359.1
  },
  "luminance": 0.1117
}

Semantic roles & 50–950 ramp

primary
#AC2862
secondary
#6BC59D
accent
#E59E42
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080C
muted
#837B7D

Preview Lab

Preview with #AC2862

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

Preview Lab → · Contrast checker → · Palette generator →

#AC2862 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva