#AF262E#AF262E

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

Color values

HEX#AF262E
RGBrgb(175, 38, 46)
HSLhsl(356, 64%, 42%)
HSVhsv(356, 78%, 69%)
CMYKcmyk(0%, 78.3%, 73.7%, 31.4%)
CIE-LABlab(39.07, 54.30, 30.43)
CIE-LCHlch(39.07, 62.24, 29.26°)
OKLaboklab(49.58% 0.1582 0.0689)
OKLCHoklch(49.58% 0.173 23.5)
XYZxyz(18.8677, 10.7004, 3.6562)
Luminance0.1070 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF262E #26AFA7
analogous
#AF2673 #AF262E #AF6226
triadic
#AF262E #2EAF26 #262EAF
tetradic
#AF262E #73AF26 #26AFA7 #6226AF
square
#AF262E #73AF26 #26AFA7 #6226AF
split-complementary
#AF262E #26AF62 #2673AF
monochromatic
#4A1014 #7D1B21 #AF262E #D53D46 #E07076

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF262E#FFFFFF#000000##FFFFFF
##AF262E1.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)
#50492D
Deuteranopia (green-blind)
#726729
Tritanopia (blue-blind)
#C1002B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #af262e;
/* rgb */ color: rgb(175, 38, 46);
/* oklch */ color: oklch(49.6% 0.173 23.5);
Tailwind
colors: {
  custom: {
    50: '#cf6d67',
    500: '#af262e',
    950: '#000000',
  },
}
SCSS
$custom: #af262e;
$custom-light: #cf6d67;
$custom-dark: #000000;
JSON
{
  "hex": "#af262e",
  "rgb": {
    "r": 175,
    "g": 38,
    "b": 46
  },
  "hsl": {
    "h": 356.496,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.4958,
    "c": 0.17259,
    "h": 23.5
  },
  "luminance": 0.10697
}

Semantic roles & 50–950 ramp

primary
#AF262E
secondary
#6AC7C1
accent
#E7DE40
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A

Preview Lab

Preview with #AF262E

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

Preview Lab → · Contrast checker → · Palette generator →

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