#AF2A3D#AF2A3D

#AF2A3D is a mid, vivid red. Relative luminance 0.111; OKLCH L 50.2% C 0.168 H 18.2°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#AF2A3D
RGBrgb(175, 42, 61)
HSLhsl(351, 61%, 43%)
HSVhsv(351, 76%, 69%)
CMYKcmyk(0%, 76%, 65.1%, 31.4%)
CIE-LABlab(39.76, 53.78, 22.04)
CIE-LCHlch(39.76, 58.12, 22.28°)
OKLaboklab(50.17% 0.1599 0.0527)
OKLCHoklch(50.17% 0.168 18.2)
XYZxyz(19.3515, 11.1097, 5.5394)
Luminance0.1111 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2A3D #2AAF9C
analogous
#AF2A7F #AF2A3D #AF5A2A
triadic
#AF2A3D #3DAF2A #2A3DAF
tetradic
#AF2A3D #7FAF2A #2AAF9C #5A2AAF
square
#AF2A3D #7FAF2A #2AAF9C #5A2AAF
split-complementary
#AF2A3D #2AAF5A #2A7FAF
monochromatic
#4C121B #7E1E2C #AF2A3D #D24458 #DE7584

Accessibility & contrast

On white

6.52
#AF2A3D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#AF2A3D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2A3D
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2A3D#FFFFFF#000000##FFFFFF
##AF2A3D1.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504C3D
Deuteranopia (green-blind)
#726839
Tritanopia (blue-blind)
#C00032
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #af2a3d;
/* rgb */ color: rgb(175, 42, 61);
/* oklch */ color: oklch(50.2% 0.168 18.2);
Tailwind
colors: {
  custom: {
    50: '#ce6f72',
    500: '#af2a3d',
    950: '#000000',
  },
}
SCSS
$custom: #af2a3d;
$custom-light: #ce6f72;
$custom-dark: #000000;
JSON
{
  "hex": "#af2a3d",
  "rgb": {
    "r": 175,
    "g": 42,
    "b": 61
  },
  "hsl": {
    "h": 351.429,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.50171,
    "c": 0.16831,
    "h": 18.2
  },
  "luminance": 0.11107
}

Semantic roles & 50–950 ramp

primary
#AF2A3D
secondary
#6FC6B9
accent
#E4CD43
background
#FDF7F6
surface
#FBEDEC
border
#D4C8C7
text
#150808
muted
#837B7B

Preview Lab

Preview with #AF2A3D

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

Preview Lab → · Contrast checker → · Palette generator →

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