#AF262F#AF262F

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

Color values

HEX#AF262F
RGBrgb(175, 38, 47)
HSLhsl(356, 64%, 42%)
HSVhsv(356, 78%, 69%)
CMYKcmyk(0%, 78.3%, 73.1%, 31.4%)
CIE-LABlab(39.08, 54.34, 29.84)
CIE-LCHlch(39.08, 61.99, 28.77°)
OKLaboklab(49.6% 0.1586 0.0678)
OKLCHoklch(49.6% 0.172 23.2)
XYZxyz(18.8876, 10.7084, 3.7612)
Luminance0.1071 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF262F #26AFA6
analogous
#AF2674 #AF262F #AF6126
triadic
#AF262F #2FAF26 #262FAF
tetradic
#AF262F #74AF26 #26AFA6 #6126AF
square
#AF262F #74AF26 #26AFA6 #6126AF
split-complementary
#AF262F #26AF61 #2674AF
monochromatic
#4A1014 #7D1B21 #AF262F #D53D47 #E07077

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF262F#FFFFFF#000000##FFFFFF
##AF262F1.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)
#50492E
Deuteranopia (green-blind)
#72672A
Tritanopia (blue-blind)
#C1002B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #af262f;
/* rgb */ color: rgb(175, 38, 47);
/* oklch */ color: oklch(49.6% 0.172 23.2);
Tailwind
colors: {
  custom: {
    50: '#cf6d67',
    500: '#af262f',
    950: '#000000',
  },
}
SCSS
$custom: #af262f;
$custom-light: #cf6d67;
$custom-dark: #000000;
JSON
{
  "hex": "#af262f",
  "rgb": {
    "r": 175,
    "g": 38,
    "b": 47
  },
  "hsl": {
    "h": 356.058,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.49595,
    "c": 0.17249,
    "h": 23.2
  },
  "luminance": 0.10705
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF262F

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

Preview Lab → · Contrast checker → · Palette generator →

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