#AF2129#AF2129

#AF2129 is a mid, vivid red. Relative luminance 0.104; OKLCH L 49.1% C 0.177 H 24.3°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#AF2129
RGBrgb(175, 33, 41)
HSLhsl(357, 68%, 41%)
HSVhsv(357, 81%, 69%)
CMYKcmyk(0%, 81.1%, 76.6%, 31.4%)
CIE-LABlab(38.49, 55.55, 32.76)
CIE-LCHlch(38.49, 64.49, 30.53°)
OKLaboklab(49.13% 0.1611 0.0728)
OKLCHoklch(49.13% 0.177 24.3)
XYZxyz(18.6255, 10.3648, 3.1173)
Luminance0.1036 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2129 #21AFA7
analogous
#AF2170 #AF2129 #AF6021
triadic
#AF2129 #29AF21 #2129AF
tetradic
#AF2129 #70AF21 #21AFA7 #6021AF
square
#AF2129 #70AF21 #21AFA7 #6021AF
split-complementary
#AF2129 #21AF60 #2170AF
monochromatic
#480E11 #7C171D #AF2129 #D9343E #E3686F

Accessibility & contrast

On white

6.84
#AF2129 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#AF2129 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2129
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2129#FFFFFF#000000##FFFFFF
##AF21291.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4728
Deuteranopia (green-blind)
#716523
Tritanopia (blue-blind)
#C10026
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #af2129;
/* rgb */ color: rgb(175, 33, 41);
/* oklch */ color: oklch(49.1% 0.177 24.3);
Tailwind
colors: {
  custom: {
    50: '#d06b63',
    500: '#af2129',
    950: '#000000',
  },
}
SCSS
$custom: #af2129;
$custom-light: #d06b63;
$custom-dark: #000000;
JSON
{
  "hex": "#af2129",
  "rgb": {
    "r": 175,
    "g": 33,
    "b": 41
  },
  "hsl": {
    "h": 356.62,
    "s": 68.269,
    "l": 40.784
  },
  "oklch": {
    "l": 0.49128,
    "c": 0.17678,
    "h": 24.3
  },
  "luminance": 0.10362
}

Semantic roles & 50–950 ramp

primary
#AF2129
secondary
#64C8C2
accent
#EBE13D
background
#FEF6F5
surface
#FCECEA
border
#D5C7C6
text
#160805
muted
#847A79

Preview Lab

Preview with #AF2129

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

Preview Lab → · Contrast checker → · Palette generator →

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