#AF223C#AF223C

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

Color values

HEX#AF223C
RGBrgb(175, 34, 60)
HSLhsl(349, 67%, 41%)
HSVhsv(349, 81%, 69%)
CMYKcmyk(0%, 80.6%, 65.7%, 31.4%)
CIE-LABlab(38.88, 56.17, 21.53)
CIE-LCHlch(38.88, 60.15, 20.97°)
OKLaboklab(49.51% 0.1673 0.0514)
OKLCHoklch(49.51% 0.175 17.1)
XYZxyz(19.0689, 10.5872, 5.3136)
Luminance0.1058 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF223C #22AF95
analogous
#AF2282 #AF223C #AF4E22
triadic
#AF223C #3CAF22 #223CAF
tetradic
#AF223C #82AF22 #22AF95 #4E22AF
square
#AF223C #82AF22 #22AF95 #4E22AF
split-complementary
#AF223C #22AF4E #2282AF
monochromatic
#490E19 #7C182A #AF223C #D83654 #E26980

Accessibility & contrast

On white

6.74
#AF223C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF223C
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF223C#FFFFFF#000000##FFFFFF
##AF223C1.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af223c;
/* rgb */ color: rgb(175, 34, 60);
/* oklch */ color: oklch(49.5% 0.175 17.1);
Tailwind
colors: {
  custom: {
    50: '#cf6c71',
    500: '#af223c',
    950: '#000000',
  },
}
SCSS
$custom: #af223c;
$custom-light: #cf6c71;
$custom-dark: #000000;
JSON
{
  "hex": "#af223c",
  "rgb": {
    "r": 175,
    "g": 34,
    "b": 60
  },
  "hsl": {
    "h": 348.936,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.49507,
    "c": 0.17504,
    "h": 17.1
  },
  "luminance": 0.10584
}

Semantic roles & 50–950 ramp

primary
#AF223C
secondary
#65C8B6
accent
#EACA3D
background
#FDF6F6
surface
#FBECEC
border
#D4C7C7
text
#150807
muted
#837A7A

Preview Lab

Preview with #AF223C

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

Preview Lab → · Contrast checker → · Palette generator →

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