#AF2D26#AF2D26

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

Color values

HEX#AF2D26
RGBrgb(175, 45, 38)
HSLhsl(3, 64%, 42%)
HSVhsv(3, 78%, 69%)
CMYKcmyk(0%, 74.3%, 78.3%, 31.4%)
CIE-LABlab(39.80, 51.66, 35.92)
CIE-LCHlch(39.80, 62.92, 34.81°)
OKLaboklab(50.1% 0.1482 0.0788)
OKLCHoklch(50.1% 0.168 28)
XYZxyz(18.9697, 11.1336, 2.9835)
Luminance0.1113 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2D26 #26A8AF
analogous
#AF2664 #AF2D26 #AF7226
triadic
#AF2D26 #26AF2D #2D26AF
tetradic
#AF2D26 #64AF26 #26A8AF #7226AF
square
#AF2D26 #64AF26 #26A8AF #7226AF
split-complementary
#AF2D26 #26AF72 #2664AF
monochromatic
#4A1310 #7D201B #AF2D26 #D5453D #E07570

Accessibility & contrast

On white

6.51
#AF2D26 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#AF2D26 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2D26
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2D26#FFFFFF#000000##FFFFFF
##AF2D261.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544C24
Deuteranopia (green-blind)
#746821
Tritanopia (blue-blind)
#C1002D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #af2d26;
/* rgb */ color: rgb(175, 45, 38);
/* oklch */ color: oklch(50.1% 0.168 28.0);
Tailwind
colors: {
  custom: {
    50: '#d07061',
    500: '#af2d26',
    950: '#000000',
  },
}
SCSS
$custom: #af2d26;
$custom-light: #d07061;
$custom-dark: #000000;
JSON
{
  "hex": "#af2d26",
  "rgb": {
    "r": 175,
    "g": 45,
    "b": 38
  },
  "hsl": {
    "h": 3.066,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.50095,
    "c": 0.16783,
    "h": 28
  },
  "luminance": 0.11131
}

Semantic roles & 50–950 ramp

primary
#AF2D26
secondary
#6AC2C7
accent
#DFE740
background
#FEF7F5
surface
#FCEDEA
border
#D5C8C6
text
#160805
muted
#847B79

Preview Lab

Preview with #AF2D26

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

Preview Lab → · Contrast checker → · Palette generator →

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