#AF2A37#AF2A37

#AF2A37 is a mid, vivid red. Relative luminance 0.110; OKLCH L 50.1% C 0.169 H 20.8°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#AF2A37
RGBrgb(175, 42, 55)
HSLhsl(354, 61%, 43%)
HSVhsv(354, 76%, 69%)
CMYKcmyk(0%, 76%, 68.6%, 31.4%)
CIE-LABlab(39.66, 53.45, 25.64)
CIE-LCHlch(39.66, 59.28, 25.62°)
OKLaboklab(50.06% 0.1575 0.06)
OKLCHoklch(50.06% 0.169 20.8)
XYZxyz(19.1989, 11.0486, 4.7354)
Luminance0.1105 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2A37 #2AAFA2
analogous
#AF2A7A #AF2A37 #AF5F2A
triadic
#AF2A37 #37AF2A #2A37AF
tetradic
#AF2A37 #7AAF2A #2AAFA2 #5F2AAF
square
#AF2A37 #7AAF2A #2AAFA2 #5F2AAF
split-complementary
#AF2A37 #2AAF5F #2A7AAF
monochromatic
#4C1218 #7E1E27 #AF2A37 #D24452 #DE7580

Accessibility & contrast

On white

6.54
#AF2A37 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#AF2A37 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2A37
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2A37#FFFFFF#000000##FFFFFF
##AF2A371.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514B36
Deuteranopia (green-blind)
#726833
Tritanopia (blue-blind)
#C00030
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #af2a37;
/* rgb */ color: rgb(175, 42, 55);
/* oklch */ color: oklch(50.1% 0.169 20.8);
Tailwind
colors: {
  custom: {
    50: '#cf6f6d',
    500: '#af2a37',
    950: '#000000',
  },
}
SCSS
$custom: #af2a37;
$custom-light: #cf6f6d;
$custom-dark: #000000;
JSON
{
  "hex": "#af2a37",
  "rgb": {
    "r": 175,
    "g": 42,
    "b": 55
  },
  "hsl": {
    "h": 354.135,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.50062,
    "c": 0.16856,
    "h": 20.8
  },
  "luminance": 0.11046
}

Semantic roles & 50–950 ramp

primary
#AF2A37
secondary
#6FC6BD
accent
#E4D543
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150807
muted
#837B7A

Preview Lab

Preview with #AF2A37

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

Preview Lab → · Contrast checker → · Palette generator →

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