#AF2726#AF2726

#AF2726 is a mid, vivid red. Relative luminance 0.107; OKLCH L 49.6% C 0.173 H 26.5°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#AF2726
RGBrgb(175, 39, 38)
HSLhsl(0, 64%, 42%)
HSVhsv(0, 78%, 69%)
CMYKcmyk(0%, 77.7%, 78.3%, 31.4%)
CIE-LABlab(39.08, 53.67, 35.16)
CIE-LCHlch(39.08, 64.16, 33.23°)
OKLaboklab(49.56% 0.1545 0.0772)
OKLCHoklch(49.56% 0.173 26.5)
XYZxyz(18.7568, 10.7079, 2.9126)
Luminance0.1071 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2726 #26AEAF
analogous
#AF266A #AF2726 #AF6C26
triadic
#AF2726 #26AF27 #2726AF
tetradic
#AF2726 #6AAF26 #26AEAF #6C26AF
square
#AF2726 #6AAF26 #26AEAF #6C26AF
split-complementary
#AF2726 #26AF6C #266AAF
monochromatic
#4A1110 #7D1C1B #AF2726 #D53E3D #E07070

Accessibility & contrast

On white

6.69
#AF2726 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#AF2726 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2726
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2726#FFFFFF#000000##FFFFFF
##AF27261.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514924
Deuteranopia (green-blind)
#736720
Tritanopia (blue-blind)
#C10029
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #af2726;
/* rgb */ color: rgb(175, 39, 38);
/* oklch */ color: oklch(49.6% 0.173 26.5);
Tailwind
colors: {
  custom: {
    50: '#d06d61',
    500: '#af2726',
    950: '#000000',
  },
}
SCSS
$custom: #af2726;
$custom-light: #d06d61;
$custom-dark: #000000;
JSON
{
  "hex": "#af2726",
  "rgb": {
    "r": 175,
    "g": 39,
    "b": 38
  },
  "hsl": {
    "h": 0.438,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.49559,
    "c": 0.17269,
    "h": 26.5
  },
  "luminance": 0.10705
}

Semantic roles & 50–950 ramp

primary
#AF2726
secondary
#6AC6C7
accent
#E6E740
background
#FEF7F5
surface
#FCEDE9
border
#D5C8C5
text
#160805
muted
#847B79

Preview Lab

Preview with #AF2726

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

Preview Lab → · Contrast checker → · Palette generator →

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