#AF223A#AF223A

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

Color values

HEX#AF223A
RGBrgb(175, 34, 58)
HSLhsl(350, 67%, 41%)
HSVhsv(350, 81%, 69%)
CMYKcmyk(0%, 80.6%, 66.9%, 31.4%)
CIE-LABlab(38.84, 56.06, 22.74)
CIE-LCHlch(38.84, 60.50, 22.08°)
OKLaboklab(49.47% 0.1665 0.0539)
OKLCHoklch(49.47% 0.175 17.9)
XYZxyz(19.0171, 10.5664, 5.0404)
Luminance0.1056 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF223A #22AF97
analogous
#AF2280 #AF223A #AF5022
triadic
#AF223A #3AAF22 #223AAF
tetradic
#AF223A #80AF22 #22AF97 #5022AF
square
#AF223A #80AF22 #22AF97 #5022AF
split-complementary
#AF223A #22AF50 #2280AF
monochromatic
#490E18 #7C1829 #AF223A #D83652 #E2697E

Accessibility & contrast

On white

6.75
#AF223A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#AF223A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF223A
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF223A#FFFFFF#000000##FFFFFF
##AF223A1.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D493A
Deuteranopia (green-blind)
#706636
Tritanopia (blue-blind)
#C0002D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #af223a;
/* rgb */ color: rgb(175, 34, 58);
/* oklch */ color: oklch(49.5% 0.175 17.9);
Tailwind
colors: {
  custom: {
    50: '#cf6c70',
    500: '#af223a',
    950: '#000000',
  },
}
SCSS
$custom: #af223a;
$custom-light: #cf6c70;
$custom-dark: #000000;
JSON
{
  "hex": "#af223a",
  "rgb": {
    "r": 175,
    "g": 34,
    "b": 58
  },
  "hsl": {
    "h": 349.787,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.49469,
    "c": 0.17504,
    "h": 17.9
  },
  "luminance": 0.10564
}

Semantic roles & 50–950 ramp

primary
#AF223A
secondary
#65C8B7
accent
#EACD3D
background
#FDF6F6
surface
#FBECEC
border
#D4C7C7
text
#150807
muted
#837A7A

Preview Lab

Preview with #AF223A

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

Preview Lab → · Contrast checker → · Palette generator →

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