#AF2225#AF2225

#AF2225 is a mid, vivid red. Relative luminance 0.104; OKLCH L 49.2% C 0.176 H 25.8°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#AF2225
RGBrgb(175, 34, 37)
HSLhsl(359, 67%, 41%)
HSVhsv(359, 81%, 69%)
CMYKcmyk(0%, 80.6%, 78.9%, 31.4%)
CIE-LABlab(38.54, 55.13, 35.16)
CIE-LCHlch(38.54, 65.39, 32.53°)
OKLaboklab(49.15% 0.1589 0.0769)
OKLCHoklch(49.15% 0.177 25.8)
XYZxyz(18.5874, 10.3946, 2.7776)
Luminance0.1039 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2225 #22AFAC
analogous
#AF226B #AF2225 #AF6522
triadic
#AF2225 #25AF22 #2225AF
tetradic
#AF2225 #6BAF22 #22AFAC #6522AF
square
#AF2225 #6BAF22 #22AFAC #6522AF
split-complementary
#AF2225 #22AF65 #226BAF
monochromatic
#490E0F #7C181A #AF2225 #D8363A #E2696C

Accessibility & contrast

On white

6.82
#AF2225 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF2225
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2225#FFFFFF#000000##FFFFFF
##AF22251.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af2225;
/* rgb */ color: rgb(175, 34, 37);
/* oklch */ color: oklch(49.2% 0.176 25.8);
Tailwind
colors: {
  custom: {
    50: '#d06b60',
    500: '#af2225',
    950: '#000000',
  },
}
SCSS
$custom: #af2225;
$custom-light: #d06b60;
$custom-dark: #000000;
JSON
{
  "hex": "#af2225",
  "rgb": {
    "r": 175,
    "g": 34,
    "b": 37
  },
  "hsl": {
    "h": 358.723,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.49152,
    "c": 0.1765,
    "h": 25.8
  },
  "luminance": 0.10392
}

Semantic roles & 50–950 ramp

primary
#AF2225
secondary
#65C8C6
accent
#EAE73D
background
#FEF6F5
surface
#FCECE9
border
#D5C7C5
text
#160805
muted
#847A79

Preview Lab

Preview with #AF2225

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

Preview Lab → · Contrast checker → · Palette generator →

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