#AF262D#AF262D

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

Color values

HEX#AF262D
RGBrgb(175, 38, 45)
HSLhsl(357, 64%, 42%)
HSVhsv(357, 78%, 69%)
CMYKcmyk(0%, 78.3%, 74.3%, 31.4%)
CIE-LABlab(39.06, 54.25, 31.01)
CIE-LCHlch(39.06, 62.49, 29.75°)
OKLaboklab(49.57% 0.1579 0.07)
OKLCHoklch(49.57% 0.173 23.9)
XYZxyz(18.8482, 10.6926, 3.5536)
Luminance0.1069 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF262D #26AFA8
analogous
#AF2672 #AF262D #AF6426
triadic
#AF262D #2DAF26 #262DAF
tetradic
#AF262D #72AF26 #26AFA8 #6426AF
square
#AF262D #72AF26 #26AFA8 #6426AF
split-complementary
#AF262D #26AF64 #2672AF
monochromatic
#4A1013 #7D1B20 #AF262D #D53D45 #E07075

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF262D#FFFFFF#000000##FFFFFF
##AF262D1.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)
#50492C
Deuteranopia (green-blind)
#726728
Tritanopia (blue-blind)
#C1002A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #af262d;
/* rgb */ color: rgb(175, 38, 45);
/* oklch */ color: oklch(49.6% 0.173 23.9);
Tailwind
colors: {
  custom: {
    50: '#d06d66',
    500: '#af262d',
    950: '#000000',
  },
}
SCSS
$custom: #af262d;
$custom-light: #d06d66;
$custom-dark: #000000;
JSON
{
  "hex": "#af262d",
  "rgb": {
    "r": 175,
    "g": 38,
    "b": 45
  },
  "hsl": {
    "h": 356.934,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.49566,
    "c": 0.17269,
    "h": 23.9
  },
  "luminance": 0.1069
}

Semantic roles & 50–950 ramp

primary
#AF262D
secondary
#6AC7C2
accent
#E7DF40
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A

Preview Lab

Preview with #AF262D

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

Preview Lab → · Contrast checker → · Palette generator →

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