#AF2A3B#AF2A3B

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

Color values

HEX#AF2A3B
RGBrgb(175, 42, 59)
HSLhsl(352, 61%, 43%)
HSVhsv(352, 76%, 69%)
CMYKcmyk(0%, 76%, 66.3%, 31.4%)
CIE-LABlab(39.73, 53.67, 23.24)
CIE-LCHlch(39.73, 58.48, 23.42°)
OKLaboklab(50.13% 0.1591 0.0551)
OKLCHoklch(50.13% 0.168 19.1)
XYZxyz(19.2987, 11.0886, 5.2610)
Luminance0.1109 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2A3B #2AAF9E
analogous
#AF2A7D #AF2A3B #AF5C2A
triadic
#AF2A3B #3BAF2A #2A3BAF
tetradic
#AF2A3B #7DAF2A #2AAF9E #5C2AAF
square
#AF2A3B #7DAF2A #2AAF9E #5C2AAF
split-complementary
#AF2A3B #2AAF5C #2A7DAF
monochromatic
#4C121A #7E1E2A #AF2A3B #D24456 #DE7583

Accessibility & contrast

On white

6.53
#AF2A3B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF2A3B
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2A3B#FFFFFF#000000##FFFFFF
##AF2A3B1.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504C3B
Deuteranopia (green-blind)
#726837
Tritanopia (blue-blind)
#C00032
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #af2a3b;
/* rgb */ color: rgb(175, 42, 59);
/* oklch */ color: oklch(50.1% 0.168 19.1);
Tailwind
colors: {
  custom: {
    50: '#ce6f70',
    500: '#af2a3b',
    950: '#000000',
  },
}
SCSS
$custom: #af2a3b;
$custom-light: #ce6f70;
$custom-dark: #000000;
JSON
{
  "hex": "#af2a3b",
  "rgb": {
    "r": 175,
    "g": 42,
    "b": 59
  },
  "hsl": {
    "h": 352.331,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.50133,
    "c": 0.16837,
    "h": 19.1
  },
  "luminance": 0.11086
}

Semantic roles & 50–950 ramp

primary
#AF2A3B
secondary
#6FC6BB
accent
#E4D043
background
#FDF7F6
surface
#FBEDEC
border
#D4C8C7
text
#150807
muted
#837B7A

Preview Lab

Preview with #AF2A3B

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

Preview Lab → · Contrast checker → · Palette generator →

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