#AF2F4F#AF2F4F

#AF2F4F is a mid, vivid red. Relative luminance 0.117; OKLCH L 51.0% C 0.164 H 10.7°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#AF2F4F
RGBrgb(175, 47, 79)
HSLhsl(345, 58%, 44%)
HSVhsv(345, 73%, 69%)
CMYKcmyk(0%, 73.1%, 54.9%, 31.4%)
CIE-LABlab(40.76, 53.29, 12.06)
CIE-LCHlch(40.76, 54.63, 12.75°)
OKLaboklab(51.03% 0.1615 0.0305)
OKLCHoklch(51.03% 0.164 10.7)
XYZxyz(20.1089, 11.7143, 8.5978)
Luminance0.1171 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2F4F #2FAF8F
analogous
#AF2F8F #AF2F4F #AF4F2F
triadic
#AF2F4F #4FAF2F #2F4FAF
tetradic
#AF2F4F #8FAF2F #2FAF8F #4F2FAF
square
#AF2F4F #8FAF2F #2FAF8F #4F2FAF
split-complementary
#AF2F4F #2FAF4F #2F8FAF
monochromatic
#4F1523 #7F2239 #AF2F4F #CF4C6D #DC7C94

Accessibility & contrast

On white

6.28
#AF2F4F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#AF2F4F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2F4F
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2F4F#FFFFFF#000000##FFFFFF
##AF2F4F1.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4F50
Deuteranopia (green-blind)
#716A4C
Tritanopia (blue-blind)
#BF0E3C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #af2f4f;
/* rgb */ color: rgb(175, 47, 79);
/* oklch */ color: oklch(51.0% 0.164 10.7);
Tailwind
colors: {
  custom: {
    50: '#cd7280',
    500: '#af2f4f',
    950: '#000000',
  },
}
SCSS
$custom: #af2f4f;
$custom-light: #cd7280;
$custom-dark: #000000;
JSON
{
  "hex": "#af2f4f",
  "rgb": {
    "r": 175,
    "g": 47,
    "b": 79
  },
  "hsl": {
    "h": 345,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.51029,
    "c": 0.16432,
    "h": 10.7
  },
  "luminance": 0.11712
}

Semantic roles & 50–950 ramp

primary
#AF2F4F
secondary
#75C4B1
accent
#E1BA47
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#15080A
muted
#837B7C

Preview Lab

Preview with #AF2F4F

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

Preview Lab → · Contrast checker → · Palette generator →

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