#AF2A48#AF2A48

#AF2A48 is a mid, vivid red. Relative luminance 0.112; OKLCH L 50.4% C 0.169 H 13.1°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#AF2A48
RGBrgb(175, 42, 72)
HSLhsl(346, 61%, 43%)
HSVhsv(346, 76%, 69%)
CMYKcmyk(0%, 76%, 58.9%, 31.4%)
CIE-LABlab(39.98, 54.49, 15.41)
CIE-LCHlch(39.98, 56.63, 15.79°)
OKLaboklab(50.4% 0.1642 0.0382)
OKLCHoklch(50.4% 0.169 13.1)
XYZxyz(19.6788, 11.2406, 7.2631)
Luminance0.1124 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2A48 #2AAF91
analogous
#AF2A8B #AF2A48 #AF4E2A
triadic
#AF2A48 #48AF2A #2A48AF
tetradic
#AF2A48 #8BAF2A #2AAF91 #4E2AAF
square
#AF2A48 #8BAF2A #2AAF91 #4E2AAF
split-complementary
#AF2A48 #2AAF4E #2A8BAF
monochromatic
#4C121F #7E1E34 #AF2A48 #D24464 #DE758D

Accessibility & contrast

On white

6.47
#AF2A48 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#AF2A48 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2A48
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2A48#FFFFFF#000000##FFFFFF
##AF2A481.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4D48
Deuteranopia (green-blind)
#706845
Tritanopia (blue-blind)
#C00037
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #af2a48;
/* rgb */ color: rgb(175, 42, 72);
/* oklch */ color: oklch(50.4% 0.169 13.1);
Tailwind
colors: {
  custom: {
    50: '#ce6f7a',
    500: '#af2a48',
    950: '#000000',
  },
}
SCSS
$custom: #af2a48;
$custom-light: #ce6f7a;
$custom-dark: #000000;
JSON
{
  "hex": "#af2a48",
  "rgb": {
    "r": 175,
    "g": 42,
    "b": 72
  },
  "hsl": {
    "h": 346.466,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.50403,
    "c": 0.16862,
    "h": 13.1
  },
  "luminance": 0.11238
}

Semantic roles & 50–950 ramp

primary
#AF2A48
secondary
#6FC6B2
accent
#E4C043
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150809
muted
#837B7B

Preview Lab

Preview with #AF2A48

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

Preview Lab → · Contrast checker → · Palette generator →

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