#AF2B23#AF2B23

#AF2B23 is a mid, vivid red. Relative luminance 0.110; OKLCH L 49.9% C 0.170 H 28.4°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#AF2B23
RGBrgb(175, 43, 35)
HSLhsl(3, 67%, 41%)
HSVhsv(3, 80%, 69%)
CMYKcmyk(0%, 75.4%, 80%, 31.4%)
CIE-LABlab(39.52, 52.25, 37.31)
CIE-LCHlch(39.52, 64.20, 35.53°)
OKLaboklab(49.88% 0.1494 0.0809)
OKLCHoklch(49.88% 0.17 28.4)
XYZxyz(18.8487, 10.9660, 2.7140)
Luminance0.1096 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2B23 #23A7AF
analogous
#AF2361 #AF2B23 #AF7123
triadic
#AF2B23 #23AF2B #2B23AF
tetradic
#AF2B23 #61AF23 #23A7AF #7123AF
square
#AF2B23 #61AF23 #23A7AF #7123AF
split-complementary
#AF2B23 #23AF71 #2361AF
monochromatic
#49120F #7C1E19 #AF2B23 #D74138 #E1726B

Accessibility & contrast

On white

6.58
#AF2B23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#AF2B23 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2B23
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2B23#FFFFFF#000000##FFFFFF
##AF2B231.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af2b23;
/* rgb */ color: rgb(175, 43, 35);
/* oklch */ color: oklch(49.9% 0.170 28.4);
Tailwind
colors: {
  custom: {
    50: '#d06f5f',
    500: '#af2b23',
    950: '#000000',
  },
}
SCSS
$custom: #af2b23;
$custom-light: #d06f5f;
$custom-dark: #000000;
JSON
{
  "hex": "#af2b23",
  "rgb": {
    "r": 175,
    "g": 43,
    "b": 35
  },
  "hsl": {
    "h": 3.429,
    "s": 66.667,
    "l": 41.176
  },
  "oklch": {
    "l": 0.49876,
    "c": 0.1699,
    "h": 28.4
  },
  "luminance": 0.10963
}

Semantic roles & 50–950 ramp

primary
#AF2B23
secondary
#66C2C7
accent
#E0EA3E
background
#FEF7F5
surface
#FCEDE9
border
#D5C8C5
text
#160804
muted
#847B79

Preview Lab

Preview with #AF2B23

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

Preview Lab → · Contrast checker → · Palette generator →

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