#AF2F34#AF2F34

#AF2F34 is a mid, vivid red. Relative luminance 0.114; OKLCH L 50.5% C 0.164 H 23.4°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#AF2F34
RGBrgb(175, 47, 52)
HSLhsl(358, 58%, 44%)
HSVhsv(358, 73%, 69%)
CMYKcmyk(0%, 73.1%, 70.3%, 31.4%)
CIE-LABlab(40.24, 51.55, 28.18)
CIE-LCHlch(40.24, 58.75, 28.66°)
OKLaboklab(50.48% 0.1508 0.0652)
OKLCHoklch(50.48% 0.164 23.4)
XYZxyz(19.3177, 11.3978, 4.4310)
Luminance0.1139 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2F34 #2FAFAA
analogous
#AF2F74 #AF2F34 #AF6A2F
triadic
#AF2F34 #34AF2F #2F34AF
tetradic
#AF2F34 #74AF2F #2FAFAA #6A2FAF
square
#AF2F34 #74AF2F #2FAFAA #6A2FAF
split-complementary
#AF2F34 #2FAF6A #2F74AF
monochromatic
#4F1517 #7F2226 #AF2F34 #CF4C51 #DC7C80

Accessibility & contrast

On white

6.40
#AF2F34 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#AF2F34 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2F34
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2F34#FFFFFF#000000##FFFFFF
##AF2F341.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544D33
Deuteranopia (green-blind)
#746930
Tritanopia (blue-blind)
#C00032
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af2f34;
/* rgb */ color: rgb(175, 47, 52);
/* oklch */ color: oklch(50.5% 0.164 23.4);
Tailwind
colors: {
  custom: {
    50: '#cf716b',
    500: '#af2f34',
    950: '#000000',
  },
}
SCSS
$custom: #af2f34;
$custom-light: #cf716b;
$custom-dark: #000000;
JSON
{
  "hex": "#af2f34",
  "rgb": {
    "r": 175,
    "g": 47,
    "b": 52
  },
  "hsl": {
    "h": 357.656,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.50479,
    "c": 0.16429,
    "h": 23.4
  },
  "luminance": 0.11395
}

Semantic roles & 50–950 ramp

primary
#AF2F34
secondary
#75C4C1
accent
#E1DB47
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A

Preview Lab

Preview with #AF2F34

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

Preview Lab → · Contrast checker → · Palette generator →

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