#AF2223#AF2223

#AF2223 is a mid, vivid red. Relative luminance 0.104; OKLCH L 49.1% C 0.177 H 26.4°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#AF2223
RGBrgb(175, 34, 35)
HSLhsl(360, 67%, 41%)
HSVhsv(360, 81%, 69%)
CMYKcmyk(0%, 80.6%, 80%, 31.4%)
CIE-LABlab(38.52, 55.06, 36.28)
CIE-LCHlch(38.52, 65.94, 33.38°)
OKLaboklab(49.13% 0.1582 0.0787)
OKLCHoklch(49.13% 0.177 26.4)
XYZxyz(18.5569, 10.3824, 2.6167)
Luminance0.1038 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2223 #22AFAE
analogous
#AF226A #AF2223 #AF6722
triadic
#AF2223 #23AF22 #2223AF
tetradic
#AF2223 #6AAF22 #22AFAE #6722AF
square
#AF2223 #6AAF22 #22AFAE #6722AF
split-complementary
#AF2223 #22AF67 #226AAF
monochromatic
#490E0F #7C1819 #AF2223 #D83637 #E2696A

Accessibility & contrast

On white

6.83
#AF2223 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#AF2223 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2223
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2223#FFFFFF#000000##FFFFFF
##AF22231.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4721
Deuteranopia (green-blind)
#72661C
Tritanopia (blue-blind)
#C10025
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #af2223;
/* rgb */ color: rgb(175, 34, 35);
/* oklch */ color: oklch(49.1% 0.177 26.4);
Tailwind
colors: {
  custom: {
    50: '#d06b5f',
    500: '#af2223',
    950: '#000000',
  },
}
SCSS
$custom: #af2223;
$custom-light: #d06b5f;
$custom-dark: #000000;
JSON
{
  "hex": "#af2223",
  "rgb": {
    "r": 175,
    "g": 34,
    "b": 35
  },
  "hsl": {
    "h": 359.574,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.49129,
    "c": 0.17673,
    "h": 26.4
  },
  "luminance": 0.10379
}

Semantic roles & 50–950 ramp

primary
#AF2223
secondary
#65C8C7
accent
#EAE93D
background
#FEF6F5
surface
#FCECE9
border
#D5C7C5
text
#160804
muted
#847A79

Preview Lab

Preview with #AF2223

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

Preview Lab → · Contrast checker → · Palette generator →

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