#AF2A47#AF2A47

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

Color values

HEX#AF2A47
RGBrgb(175, 42, 71)
HSLhsl(347, 61%, 43%)
HSVhsv(347, 76%, 69%)
CMYKcmyk(0%, 76%, 59.4%, 31.4%)
CIE-LABlab(39.96, 54.42, 16.01)
CIE-LCHlch(39.96, 56.73, 16.40°)
OKLaboklab(50.38% 0.1638 0.0395)
OKLCHoklch(50.38% 0.169 13.6)
XYZxyz(19.6465, 11.2277, 7.0927)
Luminance0.1123 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2A47 #2AAF92
analogous
#AF2A8A #AF2A47 #AF4F2A
triadic
#AF2A47 #47AF2A #2A47AF
tetradic
#AF2A47 #8AAF2A #2AAF92 #4F2AAF
square
#AF2A47 #8AAF2A #2AAF92 #4F2AAF
split-complementary
#AF2A47 #2AAF4F #2A8AAF
monochromatic
#4C121F #7E1E33 #AF2A47 #D24463 #DE758C

Accessibility & contrast

On white

6.47
#AF2A47 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF2A47
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2A47#FFFFFF#000000##FFFFFF
##AF2A471.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4D47
Deuteranopia (green-blind)
#706844
Tritanopia (blue-blind)
#C00036
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #af2a47;
/* rgb */ color: rgb(175, 42, 71);
/* oklch */ color: oklch(50.4% 0.169 13.6);
Tailwind
colors: {
  custom: {
    50: '#ce6f79',
    500: '#af2a47',
    950: '#000000',
  },
}
SCSS
$custom: #af2a47;
$custom-light: #ce6f79;
$custom-dark: #000000;
JSON
{
  "hex": "#af2a47",
  "rgb": {
    "r": 175,
    "g": 42,
    "b": 71
  },
  "hsl": {
    "h": 346.917,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.5038,
    "c": 0.16854,
    "h": 13.6
  },
  "luminance": 0.11225
}

Semantic roles & 50–950 ramp

primary
#AF2A47
secondary
#6FC6B3
accent
#E4C143
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150809
muted
#837B7B

Preview Lab

Preview with #AF2A47

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

Preview Lab → · Contrast checker → · Palette generator →

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