#AF2D23#AF2D23

#AF2D23 is a mid, vivid red. Relative luminance 0.111; OKLCH L 50.1% C 0.168 H 29.0°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#AF2D23
RGBrgb(175, 45, 35)
HSLhsl(4, 67%, 41%)
HSVhsv(4, 80%, 69%)
CMYKcmyk(0%, 74.3%, 80%, 31.4%)
CIE-LABlab(39.77, 51.56, 37.56)
CIE-LCHlch(39.77, 63.79, 36.08°)
OKLaboklab(50.06% 0.1472 0.0815)
OKLCHoklch(50.06% 0.168 29)
XYZxyz(18.9232, 11.1150, 2.7388)
Luminance0.1111 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2D23 #23A5AF
analogous
#AF235F #AF2D23 #AF7323
triadic
#AF2D23 #23AF2D #2D23AF
tetradic
#AF2D23 #5FAF23 #23A5AF #7323AF
square
#AF2D23 #5FAF23 #23A5AF #7323AF
split-complementary
#AF2D23 #23AF73 #235FAF
monochromatic
#49130F #7C2019 #AF2D23 #D74338 #E1736B

Accessibility & contrast

On white

6.52
#AF2D23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#AF2D23 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2D23
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2D23#FFFFFF#000000##FFFFFF
##AF2D231.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544C20
Deuteranopia (green-blind)
#74681D
Tritanopia (blue-blind)
#C1002C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #af2d23;
/* rgb */ color: rgb(175, 45, 35);
/* oklch */ color: oklch(50.1% 0.168 29.0);
Tailwind
colors: {
  custom: {
    50: '#d0705f',
    500: '#af2d23',
    950: '#000000',
  },
}
SCSS
$custom: #af2d23;
$custom-light: #d0705f;
$custom-dark: #000000;
JSON
{
  "hex": "#af2d23",
  "rgb": {
    "r": 175,
    "g": 45,
    "b": 35
  },
  "hsl": {
    "h": 4.286,
    "s": 66.667,
    "l": 41.176
  },
  "oklch": {
    "l": 0.50062,
    "c": 0.16826,
    "h": 29
  },
  "luminance": 0.11112
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF2D23

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

Preview Lab → · Contrast checker → · Palette generator →

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