#AF2B28#AF2B28

#AF2B28 is a mid, vivid red. Relative luminance 0.110; OKLCH L 49.9% C 0.169 H 26.8°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#AF2B28
RGBrgb(175, 43, 40)
HSLhsl(1, 63%, 42%)
HSVhsv(1, 77%, 69%)
CMYKcmyk(0%, 75.4%, 77.1%, 31.4%)
CIE-LABlab(39.58, 52.43, 34.53)
CIE-LCHlch(39.58, 62.78, 33.37°)
OKLaboklab(49.93% 0.151 0.0764)
OKLCHoklch(49.93% 0.169 26.8)
XYZxyz(18.9283, 10.9979, 3.1332)
Luminance0.1100 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2B28 #28ACAF
analogous
#AF2869 #AF2B28 #AF6E28
triadic
#AF2B28 #28AF2B #2B28AF
tetradic
#AF2B28 #69AF28 #28ACAF #6E28AF
square
#AF2B28 #69AF28 #28ACAF #6E28AF
split-complementary
#AF2B28 #28AF6E #2869AF
monochromatic
#4B1311 #7D1F1D #AF2B28 #D44441 #DF7573

Accessibility & contrast

On white

6.56
#AF2B28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#AF2B28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2B28
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2B28#FFFFFF#000000##FFFFFF
##AF2B281.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534B26
Deuteranopia (green-blind)
#746823
Tritanopia (blue-blind)
#C1002C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #af2b28;
/* rgb */ color: rgb(175, 43, 40);
/* oklch */ color: oklch(49.9% 0.169 26.8);
Tailwind
colors: {
  custom: {
    50: '#d06f62',
    500: '#af2b28',
    950: '#000000',
  },
}
SCSS
$custom: #af2b28;
$custom-light: #d06f62;
$custom-dark: #000000;
JSON
{
  "hex": "#af2b28",
  "rgb": {
    "r": 175,
    "g": 43,
    "b": 40
  },
  "hsl": {
    "h": 1.333,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.49933,
    "c": 0.16923,
    "h": 26.8
  },
  "luminance": 0.10995
}

Semantic roles & 50–950 ramp

primary
#AF2B28
secondary
#6DC4C6
accent
#E2E642
background
#FEF7F5
surface
#FCEDEA
border
#D5C8C6
text
#160805
muted
#847B79

Preview Lab

Preview with #AF2B28

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

Preview Lab → · Contrast checker → · Palette generator →

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