#AF2E4B#AF2E4B

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

Color values

HEX#AF2E4B
RGBrgb(175, 46, 75)
HSLhsl(347, 58%, 43%)
HSVhsv(347, 74%, 69%)
CMYKcmyk(0%, 73.7%, 57.1%, 31.4%)
CIE-LABlab(40.54, 53.34, 14.27)
CIE-LCHlch(40.54, 55.21, 14.98°)
OKLaboklab(50.84% 0.161 0.0356)
OKLCHoklch(50.84% 0.165 12.5)
XYZxyz(19.9281, 11.5788, 7.8408)
Luminance0.1158 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2E4B #2EAF92
analogous
#AF2E8B #AF2E4B #AF522E
triadic
#AF2E4B #4BAF2E #2E4BAF
tetradic
#AF2E4B #8BAF2E #2EAF92 #522EAF
square
#AF2E4B #8BAF2E #2EAF92 #522EAF
split-complementary
#AF2E4B #2EAF52 #2E8BAF
monochromatic
#4E1521 #7F2136 #AF2E4B #D04B69 #DC7B91

Accessibility & contrast

On white

6.33
#AF2E4B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF2E4B
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2E4B#FFFFFF#000000##FFFFFF
##AF2E4B1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504F4B
Deuteranopia (green-blind)
#716948
Tritanopia (blue-blind)
#BF073A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #af2e4b;
/* rgb */ color: rgb(175, 46, 75);
/* oklch */ color: oklch(50.8% 0.165 12.5);
Tailwind
colors: {
  custom: {
    50: '#cd717d',
    500: '#af2e4b',
    950: '#000000',
  },
}
SCSS
$custom: #af2e4b;
$custom-light: #cd717d;
$custom-dark: #000000;
JSON
{
  "hex": "#af2e4b",
  "rgb": {
    "r": 175,
    "g": 46,
    "b": 75
  },
  "hsl": {
    "h": 346.512,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.50836,
    "c": 0.16492,
    "h": 12.5
  },
  "luminance": 0.11576
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF2E4B

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

Preview Lab → · Contrast checker → · Palette generator →

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