#AF2A44#AF2A44

#AF2A44 is a mid, vivid red. Relative luminance 0.112; OKLCH L 50.3% C 0.168 H 15.0°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#AF2A44
RGBrgb(175, 42, 68)
HSLhsl(348, 61%, 43%)
HSVhsv(348, 76%, 69%)
CMYKcmyk(0%, 76%, 61.1%, 31.4%)
CIE-LABlab(39.90, 54.22, 17.82)
CIE-LCHlch(39.90, 57.07, 18.20°)
OKLaboklab(50.31% 0.1627 0.0436)
OKLCHoklch(50.31% 0.168 15)
XYZxyz(19.5525, 11.1901, 6.5981)
Luminance0.1119 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2A44 #2AAF95
analogous
#AF2A86 #AF2A44 #AF532A
triadic
#AF2A44 #44AF2A #2A44AF
tetradic
#AF2A44 #86AF2A #2AAF95 #532AAF
square
#AF2A44 #86AF2A #2AAF95 #532AAF
split-complementary
#AF2A44 #2AAF53 #2A86AF
monochromatic
#4C121E #7E1E31 #AF2A44 #D24460 #DE758A

Accessibility & contrast

On white

6.49
#AF2A44 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#AF2A44 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2A44
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2A44#FFFFFF#000000##FFFFFF
##AF2A441.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4C44
Deuteranopia (green-blind)
#716840
Tritanopia (blue-blind)
#C00035
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #af2a44;
/* rgb */ color: rgb(175, 42, 68);
/* oklch */ color: oklch(50.3% 0.168 15.0);
Tailwind
colors: {
  custom: {
    50: '#ce6f77',
    500: '#af2a44',
    950: '#000000',
  },
}
SCSS
$custom: #af2a44;
$custom-light: #ce6f77;
$custom-dark: #000000;
JSON
{
  "hex": "#af2a44",
  "rgb": {
    "r": 175,
    "g": 42,
    "b": 68
  },
  "hsl": {
    "h": 348.271,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.50314,
    "c": 0.16839,
    "h": 15
  },
  "luminance": 0.11187
}

Semantic roles & 50–950 ramp

primary
#AF2A44
secondary
#6FC6B5
accent
#E4C543
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150808
muted
#837B7B

Preview Lab

Preview with #AF2A44

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

Preview Lab → · Contrast checker → · Palette generator →

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