#AF2A4A#AF2A4A

#AF2A4A is a mid, vivid red. Relative luminance 0.113; OKLCH L 50.4% C 0.169 H 12.1°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#AF2A4A
RGBrgb(175, 42, 74)
HSLhsl(346, 61%, 43%)
HSVhsv(346, 76%, 69%)
CMYKcmyk(0%, 76%, 57.7%, 31.4%)
CIE-LABlab(40.03, 54.63, 14.21)
CIE-LCHlch(40.03, 56.45, 14.58°)
OKLaboklab(50.45% 0.165 0.0354)
OKLCHoklch(50.45% 0.169 12.1)
XYZxyz(19.7451, 11.2671, 7.6123)
Luminance0.1126 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2A4A #2AAF8F
analogous
#AF2A8C #AF2A4A #AF4D2A
triadic
#AF2A4A #4AAF2A #2A4AAF
tetradic
#AF2A4A #8CAF2A #2AAF8F #4D2AAF
square
#AF2A4A #8CAF2A #2AAF8F #4D2AAF
split-complementary
#AF2A4A #2AAF4D #2A8CAF
monochromatic
#4C1220 #7E1E35 #AF2A4A #D24466 #DE758F

Accessibility & contrast

On white

6.46
#AF2A4A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#AF2A4A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2A4A
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2A4A#FFFFFF#000000##FFFFFF
##AF2A4A1.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4D4A
Deuteranopia (green-blind)
#706847
Tritanopia (blue-blind)
#C00037
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #af2a4a;
/* rgb */ color: rgb(175, 42, 74);
/* oklch */ color: oklch(50.4% 0.169 12.1);
Tailwind
colors: {
  custom: {
    50: '#ce6f7c',
    500: '#af2a4a',
    950: '#000000',
  },
}
SCSS
$custom: #af2a4a;
$custom-light: #ce6f7c;
$custom-dark: #000000;
JSON
{
  "hex": "#af2a4a",
  "rgb": {
    "r": 175,
    "g": 42,
    "b": 74
  },
  "hsl": {
    "h": 345.564,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.5045,
    "c": 0.16879,
    "h": 12.1
  },
  "luminance": 0.11264
}

Semantic roles & 50–950 ramp

primary
#AF2A4A
secondary
#6FC6B1
accent
#E4BE43
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#150809
muted
#837B7B

Preview Lab

Preview with #AF2A4A

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

Preview Lab → · Contrast checker → · Palette generator →

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