#AF223F#AF223F

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

Color values

HEX#AF223F
RGBrgb(175, 34, 63)
HSLhsl(348, 67%, 41%)
HSVhsv(348, 81%, 69%)
CMYKcmyk(0%, 80.6%, 64%, 31.4%)
CIE-LABlab(38.93, 56.34, 19.71)
CIE-LCHlch(38.93, 59.69, 19.28°)
OKLaboklab(49.57% 0.1685 0.0475)
OKLCHoklch(49.57% 0.175 15.7)
XYZxyz(19.1505, 10.6198, 5.7431)
Luminance0.1062 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF223F #22AF92
analogous
#AF2285 #AF223F #AF4C22
triadic
#AF223F #3FAF22 #223FAF
tetradic
#AF223F #85AF22 #22AF92 #4C22AF
square
#AF223F #85AF22 #22AF92 #4C22AF
split-complementary
#AF223F #22AF4C #2285AF
monochromatic
#490E1A #7C182D #AF223F #D83657 #E26982

Accessibility & contrast

On white

6.72
#AF223F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF223F
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF223F#FFFFFF#000000##FFFFFF
##AF223F1.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C493F
Deuteranopia (green-blind)
#6F663B
Tritanopia (blue-blind)
#C0002F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #af223f;
/* rgb */ color: rgb(175, 34, 63);
/* oklch */ color: oklch(49.6% 0.175 15.7);
Tailwind
colors: {
  custom: {
    50: '#ce6c73',
    500: '#af223f',
    950: '#000000',
  },
}
SCSS
$custom: #af223f;
$custom-light: #ce6c73;
$custom-dark: #000000;
JSON
{
  "hex": "#af223f",
  "rgb": {
    "r": 175,
    "g": 34,
    "b": 63
  },
  "hsl": {
    "h": 347.66,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.49567,
    "c": 0.17509,
    "h": 15.7
  },
  "luminance": 0.10617
}

Semantic roles & 50–950 ramp

primary
#AF223F
secondary
#65C8B3
accent
#EAC73D
background
#FDF6F7
surface
#FBECED
border
#D4C7C8
text
#150808
muted
#837A7B

Preview Lab

Preview with #AF223F

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

Preview Lab → · Contrast checker → · Palette generator →

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