#AF262C#AF262C

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

Color values

HEX#AF262C
RGBrgb(175, 38, 44)
HSLhsl(357, 64%, 42%)
HSVhsv(357, 78%, 69%)
CMYKcmyk(0%, 78.3%, 74.9%, 31.4%)
CIE-LABlab(39.04, 54.21, 31.60)
CIE-LCHlch(39.04, 62.75, 30.23°)
OKLaboklab(49.55% 0.1575 0.071)
OKLCHoklch(49.55% 0.173 24.3)
XYZxyz(18.8291, 10.6850, 3.4534)
Luminance0.1068 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF262C #26AFA9
analogous
#AF2671 #AF262C #AF6526
triadic
#AF262C #2CAF26 #262CAF
tetradic
#AF262C #71AF26 #26AFA9 #6526AF
square
#AF262C #71AF26 #26AFA9 #6526AF
split-complementary
#AF262C #26AF65 #2671AF
monochromatic
#4A1013 #7D1B1F #AF262C #D53D44 #E07074

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF262C#FFFFFF#000000##FFFFFF
##AF262C1.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)
#50492B
Deuteranopia (green-blind)
#726727
Tritanopia (blue-blind)
#C1002A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #af262c;
/* rgb */ color: rgb(175, 38, 44);
/* oklch */ color: oklch(49.6% 0.173 24.3);
Tailwind
colors: {
  custom: {
    50: '#d06d65',
    500: '#af262c',
    950: '#000000',
  },
}
SCSS
$custom: #af262c;
$custom-light: #d06d65;
$custom-dark: #000000;
JSON
{
  "hex": "#af262c",
  "rgb": {
    "r": 175,
    "g": 38,
    "b": 44
  },
  "hsl": {
    "h": 357.372,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.49552,
    "c": 0.17279,
    "h": 24.3
  },
  "luminance": 0.10682
}

Semantic roles & 50–950 ramp

primary
#AF262C
secondary
#6AC7C3
accent
#E7E040
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#160805
muted
#847B7A

Preview Lab

Preview with #AF262C

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

Preview Lab → · Contrast checker → · Palette generator →

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