#AF223B#AF223B

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

Color values

HEX#AF223B
RGBrgb(175, 34, 59)
HSLhsl(349, 67%, 41%)
HSVhsv(349, 81%, 69%)
CMYKcmyk(0%, 80.6%, 66.3%, 31.4%)
CIE-LABlab(38.86, 56.11, 22.13)
CIE-LCHlch(38.86, 60.32, 21.53°)
OKLaboklab(49.49% 0.1669 0.0526)
OKLCHoklch(49.49% 0.175 17.5)
XYZxyz(19.0427, 10.5767, 5.1756)
Luminance0.1057 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF223B #22AF96
analogous
#AF2281 #AF223B #AF4F22
triadic
#AF223B #3BAF22 #223BAF
tetradic
#AF223B #81AF22 #22AF96 #4F22AF
square
#AF223B #81AF22 #22AF96 #4F22AF
split-complementary
#AF223B #22AF4F #2281AF
monochromatic
#490E18 #7C182A #AF223B #D83653 #E2697F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF223B#FFFFFF#000000##FFFFFF
##AF223B1.006.743.116.74
#FFFFFF6.741.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

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

Design tokens & code

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

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF223B

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

Preview Lab → · Contrast checker → · Palette generator →

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