#AF223E#AF223E

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

Color values

HEX#AF223E
RGBrgb(175, 34, 62)
HSLhsl(348, 67%, 41%)
HSVhsv(348, 81%, 69%)
CMYKcmyk(0%, 80.6%, 64.6%, 31.4%)
CIE-LABlab(38.91, 56.29, 20.31)
CIE-LCHlch(38.91, 59.84, 19.84°)
OKLaboklab(49.55% 0.1681 0.0488)
OKLCHoklch(49.55% 0.175 16.2)
XYZxyz(19.1228, 10.6087, 5.5973)
Luminance0.1061 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF223E #22AF93
analogous
#AF2284 #AF223E #AF4C22
triadic
#AF223E #3EAF22 #223EAF
tetradic
#AF223E #84AF22 #22AF93 #4C22AF
square
#AF223E #84AF22 #22AF93 #4C22AF
split-complementary
#AF223E #22AF4C #2284AF
monochromatic
#490E1A #7C182C #AF223E #D83656 #E26981

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF223E#FFFFFF#000000##FFFFFF
##AF223E1.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)
#4C493E
Deuteranopia (green-blind)
#6F663A
Tritanopia (blue-blind)
#C0002E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #af223e;
/* rgb */ color: rgb(175, 34, 62);
/* oklch */ color: oklch(49.5% 0.175 16.2);
Tailwind
colors: {
  custom: {
    50: '#cf6c73',
    500: '#af223e',
    950: '#000000',
  },
}
SCSS
$custom: #af223e;
$custom-light: #cf6c73;
$custom-dark: #000000;
JSON
{
  "hex": "#af223e",
  "rgb": {
    "r": 175,
    "g": 34,
    "b": 62
  },
  "hsl": {
    "h": 348.085,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.49547,
    "c": 0.17506,
    "h": 16.2
  },
  "luminance": 0.10606
}

Semantic roles & 50–950 ramp

primary
#AF223E
secondary
#65C8B4
accent
#EAC83D
background
#FDF6F6
surface
#FBECEC
border
#D4C7C7
text
#150808
muted
#837A7B

Preview Lab

Preview with #AF223E

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

Preview Lab → · Contrast checker → · Palette generator →

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