#AF2A46#AF2A46

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

Color values

HEX#AF2A46
RGBrgb(175, 42, 70)
HSLhsl(347, 61%, 43%)
HSVhsv(347, 76%, 69%)
CMYKcmyk(0%, 76%, 60%, 31.4%)
CIE-LABlab(39.94, 54.35, 16.62)
CIE-LCHlch(39.94, 56.83, 17.00°)
OKLaboklab(50.36% 0.1635 0.0409)
OKLCHoklch(50.36% 0.168 14)
XYZxyz(19.6146, 11.2149, 6.9250)
Luminance0.1121 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2A46 #2AAF93
analogous
#AF2A89 #AF2A46 #AF502A
triadic
#AF2A46 #46AF2A #2A46AF
tetradic
#AF2A46 #89AF2A #2AAF93 #502AAF
square
#AF2A46 #89AF2A #2AAF93 #502AAF
split-complementary
#AF2A46 #2AAF50 #2A89AF
monochromatic
#4C121F #7E1E32 #AF2A46 #D24462 #DE758B

Accessibility & contrast

On white

6.48
#AF2A46 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#AF2A46 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2A46
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2A46#FFFFFF#000000##FFFFFF
##AF2A461.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af2a46;
/* rgb */ color: rgb(175, 42, 70);
/* oklch */ color: oklch(50.4% 0.168 14.0);
Tailwind
colors: {
  custom: {
    50: '#ce6f79',
    500: '#af2a46',
    950: '#000000',
  },
}
SCSS
$custom: #af2a46;
$custom-light: #ce6f79;
$custom-dark: #000000;
JSON
{
  "hex": "#af2a46",
  "rgb": {
    "r": 175,
    "g": 42,
    "b": 70
  },
  "hsl": {
    "h": 347.368,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.50358,
    "c": 0.16849,
    "h": 14
  },
  "luminance": 0.11212
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF2A46

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

Preview Lab → · Contrast checker → · Palette generator →

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