#AF2E23#AF2E23

#AF2E23 is a mid, vivid red. Relative luminance 0.112; OKLCH L 50.2% C 0.167 H 29.2°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#AF2E23
RGBrgb(175, 46, 35)
HSLhsl(5, 67%, 41%)
HSVhsv(5, 80%, 69%)
CMYKcmyk(0%, 73.7%, 80%, 31.4%)
CIE-LABlab(39.90, 51.20, 37.69)
CIE-LCHlch(39.90, 63.58, 36.36°)
OKLaboklab(50.16% 0.1461 0.0818)
OKLCHoklch(50.16% 0.167 29.2)
XYZxyz(18.9618, 11.1923, 2.7517)
Luminance0.1119 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2E23 #23A4AF
analogous
#AF235E #AF2E23 #AF7423
triadic
#AF2E23 #23AF2E #2E23AF
tetradic
#AF2E23 #5EAF23 #23A4AF #7423AF
square
#AF2E23 #5EAF23 #23A4AF #7423AF
split-complementary
#AF2E23 #23AF74 #235EAF
monochromatic
#49130F #7C2119 #AF2E23 #D74538 #E1746B

Accessibility & contrast

On white

6.49
#AF2E23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#AF2E23 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2E23
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2E23#FFFFFF#000000##FFFFFF
##AF2E231.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554C20
Deuteranopia (green-blind)
#75681D
Tritanopia (blue-blind)
#C1002D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #af2e23;
/* rgb */ color: rgb(175, 46, 35);
/* oklch */ color: oklch(50.2% 0.167 29.2);
Tailwind
colors: {
  custom: {
    50: '#d0705f',
    500: '#af2e23',
    950: '#000000',
  },
}
SCSS
$custom: #af2e23;
$custom-light: #d0705f;
$custom-dark: #000000;
JSON
{
  "hex": "#af2e23",
  "rgb": {
    "r": 175,
    "g": 46,
    "b": 35
  },
  "hsl": {
    "h": 4.714,
    "s": 66.667,
    "l": 41.176
  },
  "oklch": {
    "l": 0.50158,
    "c": 0.16742,
    "h": 29.2
  },
  "luminance": 0.11189
}

Semantic roles & 50–950 ramp

primary
#AF2E23
secondary
#66C0C7
accent
#DCEA3E
background
#FEF7F5
surface
#FCEDE9
border
#D5C8C5
text
#160804
muted
#847B79

Preview Lab

Preview with #AF2E23

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

Preview Lab → · Contrast checker → · Palette generator →

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