#AF2C23#AF2C23

#AF2C23 is a mid, vivid red. Relative luminance 0.110; OKLCH L 50.0% C 0.169 H 28.7°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#AF2C23
RGBrgb(175, 44, 35)
HSLhsl(4, 67%, 41%)
HSVhsv(4, 80%, 69%)
CMYKcmyk(0%, 74.9%, 80%, 31.4%)
CIE-LABlab(39.65, 51.91, 37.43)
CIE-LCHlch(39.65, 64.00, 35.80°)
OKLaboklab(49.97% 0.1483 0.0812)
OKLCHoklch(49.97% 0.169 28.7)
XYZxyz(18.8855, 11.0396, 2.7262)
Luminance0.1104 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2C23 #23A6AF
analogous
#AF2360 #AF2C23 #AF7223
triadic
#AF2C23 #23AF2C #2C23AF
tetradic
#AF2C23 #60AF23 #23A6AF #7223AF
square
#AF2C23 #60AF23 #23A6AF #7223AF
split-complementary
#AF2C23 #23AF72 #2360AF
monochromatic
#49120F #7C1F19 #AF2C23 #D74238 #E1736B

Accessibility & contrast

On white

6.55
#AF2C23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#AF2C23 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2C23
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2C23#FFFFFF#000000##FFFFFF
##AF2C231.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544B20
Deuteranopia (green-blind)
#74681D
Tritanopia (blue-blind)
#C1002B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #af2c23;
/* rgb */ color: rgb(175, 44, 35);
/* oklch */ color: oklch(50.0% 0.169 28.7);
Tailwind
colors: {
  custom: {
    50: '#d06f5f',
    500: '#af2c23',
    950: '#000000',
  },
}
SCSS
$custom: #af2c23;
$custom-light: #d06f5f;
$custom-dark: #000000;
JSON
{
  "hex": "#af2c23",
  "rgb": {
    "r": 175,
    "g": 44,
    "b": 35
  },
  "hsl": {
    "h": 3.857,
    "s": 66.667,
    "l": 41.176
  },
  "oklch": {
    "l": 0.49968,
    "c": 0.16909,
    "h": 28.7
  },
  "luminance": 0.11037
}

Semantic roles & 50–950 ramp

primary
#AF2C23
secondary
#66C1C7
accent
#DFEA3E
background
#FEF7F5
surface
#FCEDE9
border
#D5C8C5
text
#160804
muted
#847B79

Preview Lab

Preview with #AF2C23

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

Preview Lab → · Contrast checker → · Palette generator →

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