#AF2E4C#AF2E4C

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

Color values

HEX#AF2E4C
RGBrgb(175, 46, 76)
HSLhsl(346, 58%, 43%)
HSVhsv(346, 74%, 69%)
CMYKcmyk(0%, 73.7%, 56.6%, 31.4%)
CIE-LABlab(40.56, 53.41, 13.67)
CIE-LCHlch(40.56, 55.13, 14.36°)
OKLaboklab(50.86% 0.1614 0.0343)
OKLCHoklch(50.86% 0.165 12)
XYZxyz(19.9626, 11.5926, 8.0225)
Luminance0.1159 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2E4C #2EAF91
analogous
#AF2E8C #AF2E4C #AF512E
triadic
#AF2E4C #4CAF2E #2E4CAF
tetradic
#AF2E4C #8CAF2E #2EAF91 #512EAF
square
#AF2E4C #8CAF2E #2EAF91 #512EAF
split-complementary
#AF2E4C #2EAF51 #2E8CAF
monochromatic
#4E1522 #7F2137 #AF2E4C #D04B6A #DC7B92

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF2E4C#FFFFFF#000000##FFFFFF
##AF2E4C1.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)
#504F4C
Deuteranopia (green-blind)
#716949
Tritanopia (blue-blind)
#BF083A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #af2e4c;
/* rgb */ color: rgb(175, 46, 76);
/* oklch */ color: oklch(50.9% 0.165 12.0);
Tailwind
colors: {
  custom: {
    50: '#cd717d',
    500: '#af2e4c',
    950: '#000000',
  },
}
SCSS
$custom: #af2e4c;
$custom-light: #cd717d;
$custom-dark: #000000;
JSON
{
  "hex": "#af2e4c",
  "rgb": {
    "r": 175,
    "g": 46,
    "b": 76
  },
  "hsl": {
    "h": 346.047,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.5086,
    "c": 0.16502,
    "h": 12
  },
  "luminance": 0.1159
}

Semantic roles & 50–950 ramp

primary
#AF2E4C
secondary
#74C5B2
accent
#E2BD46
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#150809
muted
#837B7B

Preview Lab

Preview with #AF2E4C

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

Preview Lab → · Contrast checker → · Palette generator →

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