#AF2628#AF2628

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

Color values

HEX#AF2628
RGBrgb(175, 38, 40)
HSLhsl(359, 64%, 42%)
HSVhsv(359, 78%, 69%)
CMYKcmyk(0%, 78.3%, 77.1%, 31.4%)
CIE-LABlab(39.00, 54.05, 33.91)
CIE-LCHlch(39.00, 63.81, 32.10°)
OKLaboklab(49.5% 0.1561 0.075)
OKLCHoklch(49.5% 0.173 25.7)
XYZxyz(18.7576, 10.6564, 3.0763)
Luminance0.1065 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2628 #26AFAD
analogous
#AF266D #AF2628 #AF6926
triadic
#AF2628 #28AF26 #2628AF
tetradic
#AF2628 #6DAF26 #26AFAD #6926AF
square
#AF2628 #6DAF26 #26AFAD #6926AF
split-complementary
#AF2628 #26AF69 #266DAF
monochromatic
#4A1011 #7D1B1D #AF2628 #D53D3F #E07071

Accessibility & contrast

On white

6.71
#AF2628 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#AF2628 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2628
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2628#FFFFFF#000000##FFFFFF
##AF26281.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af2628;
/* rgb */ color: rgb(175, 38, 40);
/* oklch */ color: oklch(49.5% 0.173 25.7);
Tailwind
colors: {
  custom: {
    50: '#d06d62',
    500: '#af2628',
    950: '#000000',
  },
}
SCSS
$custom: #af2628;
$custom-light: #d06d62;
$custom-dark: #000000;
JSON
{
  "hex": "#af2628",
  "rgb": {
    "r": 175,
    "g": 38,
    "b": 40
  },
  "hsl": {
    "h": 359.124,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.495,
    "c": 0.17322,
    "h": 25.7
  },
  "luminance": 0.10653
}

Semantic roles & 50–950 ramp

primary
#AF2628
secondary
#6AC7C5
accent
#E7E540
background
#FEF6F5
surface
#FCECEA
border
#D5C7C6
text
#160805
muted
#847A79

Preview Lab

Preview with #AF2628

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

Preview Lab → · Contrast checker → · Palette generator →

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