#AF2323#AF2323

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

Color values

HEX#AF2323
RGBrgb(175, 35, 35)
HSLhsl(0, 67%, 41%)
HSVhsv(0, 80%, 69%)
CMYKcmyk(0%, 80%, 80%, 31.4%)
CIE-LABlab(38.62, 54.78, 36.39)
CIE-LCHlch(38.62, 65.76, 33.60°)
OKLaboklab(49.21% 0.1573 0.0789)
OKLCHoklch(49.21% 0.176 26.6)
XYZxyz(18.5859, 10.4404, 2.6264)
Luminance0.1044 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2323 #23AFAF
analogous
#AF2369 #AF2323 #AF6923
triadic
#AF2323 #23AF23 #2323AF
tetradic
#AF2323 #69AF23 #23AFAF #6923AF
square
#AF2323 #69AF23 #23AFAF #6923AF
split-complementary
#AF2323 #23AF69 #2369AF
monochromatic
#490F0F #7C1919 #AF2323 #D73838 #E16B6B

Accessibility & contrast

On white

6.80
#AF2323 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#AF2323 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2323
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2323#FFFFFF#000000##FFFFFF
##AF23231.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af2323;
/* rgb */ color: rgb(175, 35, 35);
/* oklch */ color: oklch(49.2% 0.176 26.6);
Tailwind
colors: {
  custom: {
    50: '#d06c5f',
    500: '#af2323',
    950: '#000000',
  },
}
SCSS
$custom: #af2323;
$custom-light: #d06c5f;
$custom-dark: #000000;
JSON
{
  "hex": "#af2323",
  "rgb": {
    "r": 175,
    "g": 35,
    "b": 35
  },
  "hsl": {
    "h": 0,
    "s": 66.667,
    "l": 41.176
  },
  "oklch": {
    "l": 0.49205,
    "c": 0.17602,
    "h": 26.6
  },
  "luminance": 0.10437
}

Semantic roles & 50–950 ramp

primary
#AF2323
secondary
#66C7C7
accent
#EAEA3E
background
#FEF6F5
surface
#FCECE9
border
#D5C7C5
text
#160804
muted
#847A79

Preview Lab

Preview with #AF2323

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

Preview Lab → · Contrast checker → · Palette generator →

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