#AF2D3B#AF2D3B

#AF2D3B is a mid, vivid red. Relative luminance 0.113; OKLCH L 50.4% C 0.166 H 19.8°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#AF2D3B
RGBrgb(175, 45, 59)
HSLhsl(354, 59%, 43%)
HSVhsv(354, 74%, 69%)
CMYKcmyk(0%, 74.3%, 66.3%, 31.4%)
CIE-LABlab(40.10, 52.64, 23.70)
CIE-LCHlch(40.10, 57.73, 24.24°)
OKLaboklab(50.41% 0.1558 0.0562)
OKLCHoklch(50.41% 0.166 19.8)
XYZxyz(19.4091, 11.3094, 5.2978)
Luminance0.1131 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2D3B #2DAFA1
analogous
#AF2D7C #AF2D3B #AF602D
triadic
#AF2D3B #3BAF2D #2D3BAF
tetradic
#AF2D3B #7CAF2D #2DAFA1 #602DAF
square
#AF2D3B #7CAF2D #2DAFA1 #602DAF
split-complementary
#AF2D3B #2DAF60 #2D7CAF
monochromatic
#4E141A #7E202B #AF2D3B #D04958 #DD7A84

Accessibility & contrast

On white

6.44
#AF2D3B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#AF2D3B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2D3B
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2D3B#FFFFFF#000000##FFFFFF
##AF2D3B1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524D3B
Deuteranopia (green-blind)
#736837
Tritanopia (blue-blind)
#C00033
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #af2d3b;
/* rgb */ color: rgb(175, 45, 59);
/* oklch */ color: oklch(50.4% 0.166 19.8);
Tailwind
colors: {
  custom: {
    50: '#ce7070',
    500: '#af2d3b',
    950: '#000000',
  },
}
SCSS
$custom: #af2d3b;
$custom-light: #ce7070;
$custom-dark: #000000;
JSON
{
  "hex": "#af2d3b",
  "rgb": {
    "r": 175,
    "g": 45,
    "b": 59
  },
  "hsl": {
    "h": 353.538,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.50406,
    "c": 0.16562,
    "h": 19.8
  },
  "luminance": 0.11306
}

Semantic roles & 50–950 ramp

primary
#AF2D3B
secondary
#73C5BC
accent
#E2D146
background
#FDF7F6
surface
#FBEDEC
border
#D4C8C7
text
#150807
muted
#837B7A

Preview Lab

Preview with #AF2D3B

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

Preview Lab → · Contrast checker → · Palette generator →

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