#AF262B#AF262B

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

Color values

HEX#AF262B
RGBrgb(175, 38, 43)
HSLhsl(358, 64%, 42%)
HSVhsv(358, 78%, 69%)
CMYKcmyk(0%, 78.3%, 75.4%, 31.4%)
CIE-LABlab(39.03, 54.17, 32.18)
CIE-LCHlch(39.03, 63.01, 30.71°)
OKLaboklab(49.54% 0.1572 0.0721)
OKLCHoklch(49.54% 0.173 24.6)
XYZxyz(18.8106, 10.6776, 3.3556)
Luminance0.1067 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF262B #26AFAA
analogous
#AF2670 #AF262B #AF6626
triadic
#AF262B #2BAF26 #262BAF
tetradic
#AF262B #70AF26 #26AFAA #6626AF
square
#AF262B #70AF26 #26AFAA #6626AF
split-complementary
#AF262B #26AF66 #2670AF
monochromatic
#4A1012 #7D1B1F #AF262B #D53D43 #E07074

Accessibility & contrast

On white

6.70
#AF262B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF262B
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF262B#FFFFFF#000000##FFFFFF
##AF262B1.006.703.146.70
#FFFFFF6.701.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50492A
Deuteranopia (green-blind)
#726726
Tritanopia (blue-blind)
#C1002A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #af262b;
/* rgb */ color: rgb(175, 38, 43);
/* oklch */ color: oklch(49.5% 0.173 24.6);
Tailwind
colors: {
  custom: {
    50: '#d06d64',
    500: '#af262b',
    950: '#000000',
  },
}
SCSS
$custom: #af262b;
$custom-light: #d06d64;
$custom-dark: #000000;
JSON
{
  "hex": "#af262b",
  "rgb": {
    "r": 175,
    "g": 38,
    "b": 43
  },
  "hsl": {
    "h": 357.81,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.49539,
    "c": 0.17289,
    "h": 24.6
  },
  "luminance": 0.10675
}

Semantic roles & 50–950 ramp

primary
#AF262B
secondary
#6AC7C3
accent
#E7E140
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160805
muted
#847B7A

Preview Lab

Preview with #AF262B

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

Preview Lab → · Contrast checker → · Palette generator →

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