#AF2A3E#AF2A3E

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

Color values

HEX#AF2A3E
RGBrgb(175, 42, 62)
HSLhsl(351, 61%, 43%)
HSVhsv(351, 76%, 69%)
CMYKcmyk(0%, 76%, 64.6%, 31.4%)
CIE-LABlab(39.78, 53.84, 21.44)
CIE-LCHlch(39.78, 57.95, 21.71°)
OKLaboklab(50.19% 0.1603 0.0514)
OKLCHoklch(50.19% 0.168 17.8)
XYZxyz(19.3787, 11.1206, 5.6826)
Luminance0.1112 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2A3E #2AAF9B
analogous
#AF2A81 #AF2A3E #AF582A
triadic
#AF2A3E #3EAF2A #2A3EAF
tetradic
#AF2A3E #81AF2A #2AAF9B #582AAF
square
#AF2A3E #81AF2A #2AAF9B #582AAF
split-complementary
#AF2A3E #2AAF58 #2A81AF
monochromatic
#4C121B #7E1E2D #AF2A3E #D24459 #DE7585

Accessibility & contrast

On white

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

On black

3.22
#AF2A3E on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##AF2A3E#FFFFFF#000000##FFFFFF
##AF2A3E1.006.513.226.51
#FFFFFF6.511.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504C3E
Deuteranopia (green-blind)
#71683A
Tritanopia (blue-blind)
#C00033
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #af2a3e;
/* rgb */ color: rgb(175, 42, 62);
/* oklch */ color: oklch(50.2% 0.168 17.8);
Tailwind
colors: {
  custom: {
    50: '#ce6f73',
    500: '#af2a3e',
    950: '#000000',
  },
}
SCSS
$custom: #af2a3e;
$custom-light: #ce6f73;
$custom-dark: #000000;
JSON
{
  "hex": "#af2a3e",
  "rgb": {
    "r": 175,
    "g": 42,
    "b": 62
  },
  "hsl": {
    "h": 350.977,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.5019,
    "c": 0.1683,
    "h": 17.8
  },
  "luminance": 0.11118
}

Semantic roles & 50–950 ramp

primary
#AF2A3E
secondary
#6FC6B9
accent
#E4CC43
background
#FDF7F6
surface
#FBEDEC
border
#D4C8C7
text
#150808
muted
#837B7B

Preview Lab

Preview with #AF2A3E

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

Preview Lab → · Contrast checker → · Palette generator →

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