#AF2E4E#AF2E4E

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

Color values

HEX#AF2E4E
RGBrgb(175, 46, 78)
HSLhsl(345, 58%, 43%)
HSVhsv(345, 74%, 69%)
CMYKcmyk(0%, 73.7%, 55.4%, 31.4%)
CIE-LABlab(40.61, 53.56, 12.48)
CIE-LCHlch(40.61, 55.00, 13.11°)
OKLaboklab(50.91% 0.1622 0.0315)
OKLCHoklch(50.91% 0.165 11)
XYZxyz(20.0332, 11.6208, 8.3944)
Luminance0.1162 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2E4E #2EAF8F
analogous
#AF2E8E #AF2E4E #AF4E2E
triadic
#AF2E4E #4EAF2E #2E4EAF
tetradic
#AF2E4E #8EAF2E #2EAF8F #4E2EAF
square
#AF2E4E #8EAF2E #2EAF8F #4E2EAF
split-complementary
#AF2E4E #2EAF4E #2E8EAF
monochromatic
#4E1523 #7F2138 #AF2E4E #D04B6C #DC7B93

Accessibility & contrast

On white

6.32
#AF2E4E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#AF2E4E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2E4E
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2E4E#FFFFFF#000000##FFFFFF
##AF2E4E1.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4F4E
Deuteranopia (green-blind)
#71694B
Tritanopia (blue-blind)
#BF0A3B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #af2e4e;
/* rgb */ color: rgb(175, 46, 78);
/* oklch */ color: oklch(50.9% 0.165 11.0);
Tailwind
colors: {
  custom: {
    50: '#cd717f',
    500: '#af2e4e',
    950: '#000000',
  },
}
SCSS
$custom: #af2e4e;
$custom-light: #cd717f;
$custom-dark: #000000;
JSON
{
  "hex": "#af2e4e",
  "rgb": {
    "r": 175,
    "g": 46,
    "b": 78
  },
  "hsl": {
    "h": 345.116,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.50909,
    "c": 0.16524,
    "h": 11
  },
  "luminance": 0.11618
}

Semantic roles & 50–950 ramp

primary
#AF2E4E
secondary
#74C5B1
accent
#E2BB46
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#15080A
muted
#837B7C

Preview Lab

Preview with #AF2E4E

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

Preview Lab → · Contrast checker → · Palette generator →

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