#AF223D#AF223D

#AF223D is a mid, vivid red. Relative luminance 0.106; OKLCH L 49.5% C 0.175 H 16.6°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#AF223D
RGBrgb(175, 34, 61)
HSLhsl(349, 67%, 41%)
HSVhsv(349, 81%, 69%)
CMYKcmyk(0%, 80.6%, 65.1%, 31.4%)
CIE-LABlab(38.89, 56.23, 20.92)
CIE-LCHlch(38.89, 59.99, 20.41°)
OKLaboklab(49.53% 0.1677 0.0501)
OKLCHoklch(49.53% 0.175 16.6)
XYZxyz(19.0956, 10.5979, 5.4541)
Luminance0.1060 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF223D #22AF94
analogous
#AF2283 #AF223D #AF4E22
triadic
#AF223D #3DAF22 #223DAF
tetradic
#AF223D #83AF22 #22AF94 #4E22AF
square
#AF223D #83AF22 #22AF94 #4E22AF
split-complementary
#AF223D #22AF4E #2283AF
monochromatic
#490E19 #7C182B #AF223D #D83655 #E26981

Accessibility & contrast

On white

6.73
#AF223D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#AF223D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF223D
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF223D#FFFFFF#000000##FFFFFF
##AF223D1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C493D
Deuteranopia (green-blind)
#706639
Tritanopia (blue-blind)
#C0002E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #af223d;
/* rgb */ color: rgb(175, 34, 61);
/* oklch */ color: oklch(49.5% 0.175 16.6);
Tailwind
colors: {
  custom: {
    50: '#cf6c72',
    500: '#af223d',
    950: '#000000',
  },
}
SCSS
$custom: #af223d;
$custom-light: #cf6c72;
$custom-dark: #000000;
JSON
{
  "hex": "#af223d",
  "rgb": {
    "r": 175,
    "g": 34,
    "b": 61
  },
  "hsl": {
    "h": 348.511,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.49527,
    "c": 0.17505,
    "h": 16.6
  },
  "luminance": 0.10595
}

Semantic roles & 50–950 ramp

primary
#AF223D
secondary
#65C8B5
accent
#EAC93D
background
#FDF6F6
surface
#FBECEC
border
#D4C7C7
text
#150807
muted
#837A7A

Preview Lab

Preview with #AF223D

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

Preview Lab → · Contrast checker → · Palette generator →

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