#AF2E4A#AF2E4A

#AF2E4A is a mid, vivid red. Relative luminance 0.116; OKLCH L 50.8% C 0.165 H 13.0°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#AF2E4A
RGBrgb(175, 46, 74)
HSLhsl(347, 58%, 43%)
HSVhsv(347, 74%, 69%)
CMYKcmyk(0%, 73.7%, 57.7%, 31.4%)
CIE-LABlab(40.52, 53.26, 14.87)
CIE-LCHlch(40.52, 55.30, 15.60°)
OKLaboklab(50.81% 0.1606 0.037)
OKLCHoklch(50.81% 0.165 13)
XYZxyz(19.8941, 11.5652, 7.6620)
Luminance0.1156 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2E4A #2EAF93
analogous
#AF2E8A #AF2E4A #AF522E
triadic
#AF2E4A #4AAF2E #2E4AAF
tetradic
#AF2E4A #8AAF2E #2EAF93 #522EAF
square
#AF2E4A #8AAF2E #2EAF93 #522EAF
split-complementary
#AF2E4A #2EAF52 #2E8AAF
monochromatic
#4E1521 #7F2136 #AF2E4A #D04B67 #DC7B90

Accessibility & contrast

On white

6.34
#AF2E4A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#AF2E4A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2E4A
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2E4A#FFFFFF#000000##FFFFFF
##AF2E4A1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504F4A
Deuteranopia (green-blind)
#716947
Tritanopia (blue-blind)
#BF063A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af2e4a;
/* rgb */ color: rgb(175, 46, 74);
/* oklch */ color: oklch(50.8% 0.165 13.0);
Tailwind
colors: {
  custom: {
    50: '#cd717c',
    500: '#af2e4a',
    950: '#000000',
  },
}
SCSS
$custom: #af2e4a;
$custom-light: #cd717c;
$custom-dark: #000000;
JSON
{
  "hex": "#af2e4a",
  "rgb": {
    "r": 175,
    "g": 46,
    "b": 74
  },
  "hsl": {
    "h": 346.977,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.50813,
    "c": 0.16485,
    "h": 13
  },
  "luminance": 0.11562
}

Semantic roles & 50–950 ramp

primary
#AF2E4A
secondary
#74C5B3
accent
#E2C046
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#150809
muted
#837B7B

Preview Lab

Preview with #AF2E4A

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

Preview Lab → · Contrast checker → · Palette generator →

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