#AF2C4A#AF2C4A

#AF2C4A is a mid, vivid red. Relative luminance 0.114; OKLCH L 50.6% C 0.167 H 12.5°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#AF2C4A
RGBrgb(175, 44, 74)
HSLhsl(346, 60%, 43%)
HSVhsv(346, 75%, 69%)
CMYKcmyk(0%, 74.9%, 57.7%, 31.4%)
CIE-LABlab(40.27, 53.96, 14.53)
CIE-LCHlch(40.27, 55.88, 15.07°)
OKLaboklab(50.63% 0.1629 0.0362)
OKLCHoklch(50.63% 0.167 12.5)
XYZxyz(19.8178, 11.4126, 7.6365)
Luminance0.1141 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2C4A #2CAF91
analogous
#AF2C8B #AF2C4A #AF502C
triadic
#AF2C4A #4AAF2C #2C4AAF
tetradic
#AF2C4A #8BAF2C #2CAF91 #502CAF
square
#AF2C4A #8BAF2C #2CAF91 #502CAF
split-complementary
#AF2C4A #2CAF50 #2C8BAF
monochromatic
#4D1321 #7E2035 #AF2C4A #D14767 #DD788F

Accessibility & contrast

On white

6.40
#AF2C4A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#AF2C4A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2C4A
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2C4A#FFFFFF#000000##FFFFFF
##AF2C4A1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4E4A
Deuteranopia (green-blind)
#706947
Tritanopia (blue-blind)
#C00039
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af2c4a;
/* rgb */ color: rgb(175, 44, 74);
/* oklch */ color: oklch(50.6% 0.167 12.5);
Tailwind
colors: {
  custom: {
    50: '#cd707c',
    500: '#af2c4a',
    950: '#000000',
  },
}
SCSS
$custom: #af2c4a;
$custom-light: #cd707c;
$custom-dark: #000000;
JSON
{
  "hex": "#af2c4a",
  "rgb": {
    "r": 175,
    "g": 44,
    "b": 74
  },
  "hsl": {
    "h": 346.26,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.50628,
    "c": 0.16684,
    "h": 12.5
  },
  "luminance": 0.1141
}

Semantic roles & 50–950 ramp

primary
#AF2C4A
secondary
#72C5B2
accent
#E3BF45
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#150809
muted
#837B7B

Preview Lab

Preview with #AF2C4A

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

Preview Lab → · Contrast checker → · Palette generator →

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