#AF2C26#AF2C26

#AF2C26 is a mid, vivid red. Relative luminance 0.111; OKLCH L 50.0% C 0.169 H 27.8°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#AF2C26
RGBrgb(175, 44, 38)
HSLhsl(3, 64%, 42%)
HSVhsv(3, 78%, 69%)
CMYKcmyk(0%, 74.9%, 78.3%, 31.4%)
CIE-LABlab(39.68, 52.01, 35.79)
CIE-LCHlch(39.68, 63.13, 34.53°)
OKLaboklab(50% 0.1493 0.0786)
OKLCHoklch(50% 0.169 27.8)
XYZxyz(18.9320, 11.0582, 2.9709)
Luminance0.1105 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2C26 #26A9AF
analogous
#AF2665 #AF2C26 #AF7126
triadic
#AF2C26 #26AF2C #2C26AF
tetradic
#AF2C26 #65AF26 #26A9AF #7126AF
square
#AF2C26 #65AF26 #26A9AF #7126AF
split-complementary
#AF2C26 #26AF71 #2665AF
monochromatic
#4A1310 #7D1F1B #AF2C26 #D5443D #E07470

Accessibility & contrast

On white

6.54
#AF2C26 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#AF2C26 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2C26
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2C26#FFFFFF#000000##FFFFFF
##AF2C261.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544B24
Deuteranopia (green-blind)
#746820
Tritanopia (blue-blind)
#C1002C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #af2c26;
/* rgb */ color: rgb(175, 44, 38);
/* oklch */ color: oklch(50.0% 0.169 27.8);
Tailwind
colors: {
  custom: {
    50: '#d07061',
    500: '#af2c26',
    950: '#000000',
  },
}
SCSS
$custom: #af2c26;
$custom-light: #d07061;
$custom-dark: #000000;
JSON
{
  "hex": "#af2c26",
  "rgb": {
    "r": 175,
    "g": 44,
    "b": 38
  },
  "hsl": {
    "h": 2.628,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.50001,
    "c": 0.16867,
    "h": 27.8
  },
  "luminance": 0.11055
}

Semantic roles & 50–950 ramp

primary
#AF2C26
secondary
#6AC3C7
accent
#E0E740
background
#FEF7F5
surface
#FCEDEA
border
#D5C8C6
text
#160805
muted
#847B79

Preview Lab

Preview with #AF2C26

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

Preview Lab → · Contrast checker → · Palette generator →

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