#AF2A49#AF2A49

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

Color values

HEX#AF2A49
RGBrgb(175, 42, 73)
HSLhsl(346, 61%, 43%)
HSVhsv(346, 76%, 69%)
CMYKcmyk(0%, 76%, 58.3%, 31.4%)
CIE-LABlab(40.00, 54.56, 14.81)
CIE-LCHlch(40.00, 56.53, 15.19°)
OKLaboklab(50.43% 0.1646 0.0368)
OKLCHoklch(50.43% 0.169 12.6)
XYZxyz(19.7117, 11.2538, 7.4363)
Luminance0.1125 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2A49 #2AAF90
analogous
#AF2A8B #AF2A49 #AF4E2A
triadic
#AF2A49 #49AF2A #2A49AF
tetradic
#AF2A49 #8BAF2A #2AAF90 #4E2AAF
square
#AF2A49 #8BAF2A #2AAF90 #4E2AAF
split-complementary
#AF2A49 #2AAF4E #2A8BAF
monochromatic
#4C1220 #7E1E34 #AF2A49 #D24465 #DE758E

Accessibility & contrast

On white

6.46
#AF2A49 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF2A49
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2A49#FFFFFF#000000##FFFFFF
##AF2A491.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af2a49;
/* rgb */ color: rgb(175, 42, 73);
/* oklch */ color: oklch(50.4% 0.169 12.6);
Tailwind
colors: {
  custom: {
    50: '#ce6f7b',
    500: '#af2a49',
    950: '#000000',
  },
}
SCSS
$custom: #af2a49;
$custom-light: #ce6f7b;
$custom-dark: #000000;
JSON
{
  "hex": "#af2a49",
  "rgb": {
    "r": 175,
    "g": 42,
    "b": 73
  },
  "hsl": {
    "h": 346.015,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.50427,
    "c": 0.1687,
    "h": 12.6
  },
  "luminance": 0.11251
}

Semantic roles & 50–950 ramp

primary
#AF2A49
secondary
#6FC6B1
accent
#E4BF43
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150809
muted
#837B7B

Preview Lab

Preview with #AF2A49

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

Preview Lab → · Contrast checker → · Palette generator →

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