#AF2F4A#AF2F4A

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

Color values

HEX#AF2F4A
RGBrgb(175, 47, 74)
HSLhsl(347, 58%, 44%)
HSVhsv(347, 73%, 69%)
CMYKcmyk(0%, 73.1%, 57.7%, 31.4%)
CIE-LABlab(40.65, 52.91, 15.05)
CIE-LCHlch(40.65, 55.00, 15.88°)
OKLaboklab(50.91% 0.1595 0.0374)
OKLCHoklch(50.91% 0.164 13.2)
XYZxyz(19.9337, 11.6442, 7.6752)
Luminance0.1164 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2F4A #2FAF94
analogous
#AF2F8A #AF2F4A #AF542F
triadic
#AF2F4A #4AAF2F #2F4AAF
tetradic
#AF2F4A #8AAF2F #2FAF94 #542FAF
square
#AF2F4A #8AAF2F #2FAF94 #542FAF
split-complementary
#AF2F4A #2FAF54 #2F8AAF
monochromatic
#4F1521 #7F2236 #AF2F4A #CF4C68 #DC7C91

Accessibility & contrast

On white

6.31
#AF2F4A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#AF2F4A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2F4A
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2F4A#FFFFFF#000000##FFFFFF
##AF2F4A1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504F4A
Deuteranopia (green-blind)
#716947
Tritanopia (blue-blind)
#BF0A3A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #af2f4a;
/* rgb */ color: rgb(175, 47, 74);
/* oklch */ color: oklch(50.9% 0.164 13.2);
Tailwind
colors: {
  custom: {
    50: '#cd727c',
    500: '#af2f4a',
    950: '#000000',
  },
}
SCSS
$custom: #af2f4a;
$custom-light: #cd727c;
$custom-dark: #000000;
JSON
{
  "hex": "#af2f4a",
  "rgb": {
    "r": 175,
    "g": 47,
    "b": 74
  },
  "hsl": {
    "h": 347.344,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.50908,
    "c": 0.16382,
    "h": 13.2
  },
  "luminance": 0.11641
}

Semantic roles & 50–950 ramp

primary
#AF2F4A
secondary
#75C4B4
accent
#E1C047
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#150809
muted
#837B7B

Preview Lab

Preview with #AF2F4A

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

Preview Lab → · Contrast checker → · Palette generator →

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