#AF2A40#AF2A40

#AF2A40 is a mid, vivid red. Relative luminance 0.111; OKLCH L 50.2% C 0.168 H 16.9°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#AF2A40
RGBrgb(175, 42, 64)
HSLhsl(350, 61%, 43%)
HSVhsv(350, 76%, 69%)
CMYKcmyk(0%, 76%, 63.4%, 31.4%)
CIE-LABlab(39.82, 53.96, 20.23)
CIE-LCHlch(39.82, 57.63, 20.55°)
OKLaboklab(50.23% 0.1611 0.0488)
OKLCHoklch(50.23% 0.168 16.9)
XYZxyz(19.4346, 11.1429, 5.9770)
Luminance0.1114 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2A40 #2AAF99
analogous
#AF2A83 #AF2A40 #AF562A
triadic
#AF2A40 #40AF2A #2A40AF
tetradic
#AF2A40 #83AF2A #2AAF99 #562AAF
square
#AF2A40 #83AF2A #2AAF99 #562AAF
split-complementary
#AF2A40 #2AAF56 #2A83AF
monochromatic
#4C121C #7E1E2E #AF2A40 #D2445C #DE7587

Accessibility & contrast

On white

6.51
#AF2A40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#AF2A40 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2A40
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2A40#FFFFFF#000000##FFFFFF
##AF2A401.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4C40
Deuteranopia (green-blind)
#71683C
Tritanopia (blue-blind)
#C00033
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #af2a40;
/* rgb */ color: rgb(175, 42, 64);
/* oklch */ color: oklch(50.2% 0.168 16.9);
Tailwind
colors: {
  custom: {
    50: '#ce6f74',
    500: '#af2a40',
    950: '#000000',
  },
}
SCSS
$custom: #af2a40;
$custom-light: #ce6f74;
$custom-dark: #000000;
JSON
{
  "hex": "#af2a40",
  "rgb": {
    "r": 175,
    "g": 42,
    "b": 64
  },
  "hsl": {
    "h": 350.075,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.5023,
    "c": 0.1683,
    "h": 16.9
  },
  "luminance": 0.1114
}

Semantic roles & 50–950 ramp

primary
#AF2A40
secondary
#6FC6B7
accent
#E4CA43
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150808
muted
#837B7B

Preview Lab

Preview with #AF2A40

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

Preview Lab → · Contrast checker → · Palette generator →

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