#AC2F4E#AC2F4E

#AC2F4E is a mid, vivid red. Relative luminance 0.114; OKLCH L 50.5% C 0.161 H 10.7°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#AC2F4E
RGBrgb(172, 47, 78)
HSLhsl(345, 57%, 43%)
HSVhsv(345, 73%, 67%)
CMYKcmyk(0%, 72.7%, 54.7%, 32.5%)
CIE-LABlab(40.17, 52.29, 11.79)
CIE-LCHlch(40.17, 53.61, 12.71°)
OKLaboklab(50.49% 0.1585 0.0298)
OKLCHoklch(50.49% 0.161 10.7)
XYZxyz(19.4067, 11.3564, 8.3763)
Luminance0.1135 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2F4E #2FAC8D
analogous
#AC2F8C #AC2F4E #AC4E2F
triadic
#AC2F4E #4EAC2F #2F4EAC
tetradic
#AC2F4E #8CAC2F #2FAC8D #4E2FAC
square
#AC2F4E #8CAC2F #2FAC8D #4E2FAC
split-complementary
#AC2F4E #2FAC4E #2F8CAC
monochromatic
#4C1522 #7C2238 #AC2F4E #CE4B6B #DB7B92

Accessibility & contrast

On white

6.42
#AC2F4E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#AC2F4E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2F4E
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2F4E#FFFFFF#000000##FFFFFF
##AC2F4E1.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4E4E
Deuteranopia (green-blind)
#6F684B
Tritanopia (blue-blind)
#BC103C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #ac2f4e;
/* rgb */ color: rgb(172, 47, 78);
/* oklch */ color: oklch(50.5% 0.161 10.7);
Tailwind
colors: {
  custom: {
    50: '#cb717f',
    500: '#ac2f4e',
    950: '#000000',
  },
}
SCSS
$custom: #ac2f4e;
$custom-light: #cb717f;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2f4e",
  "rgb": {
    "r": 172,
    "g": 47,
    "b": 78
  },
  "hsl": {
    "h": 345.12,
    "s": 57.078,
    "l": 42.941
  },
  "oklch": {
    "l": 0.50486,
    "c": 0.16125,
    "h": 10.7
  },
  "luminance": 0.11354
}

Semantic roles & 50–950 ramp

primary
#AC2F4E
secondary
#74C3AF
accent
#E0BA47
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#14080A
muted
#837B7C

Preview Lab

Preview with #AC2F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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