#AF2F33#AF2F33

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

Color values

HEX#AF2F33
RGBrgb(175, 47, 51)
HSLhsl(358, 58%, 44%)
HSVhsv(358, 73%, 69%)
CMYKcmyk(0%, 73.1%, 70.9%, 31.4%)
CIE-LABlab(40.23, 51.50, 28.76)
CIE-LCHlch(40.23, 58.99, 29.19°)
OKLaboklab(50.46% 0.1505 0.0663)
OKLCHoklch(50.46% 0.164 23.8)
XYZxyz(19.2954, 11.3889, 4.3136)
Luminance0.1139 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2F33 #2FAFAB
analogous
#AF2F73 #AF2F33 #AF6B2F
triadic
#AF2F33 #33AF2F #2F33AF
tetradic
#AF2F33 #73AF2F #2FAFAB #6B2FAF
square
#AF2F33 #73AF2F #2FAFAB #6B2FAF
split-complementary
#AF2F33 #2FAF6B #2F73AF
monochromatic
#4F1517 #7F2225 #AF2F33 #CF4C50 #DC7C7F

Accessibility & contrast

On white

6.41
#AF2F33 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF2F33
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2F33#FFFFFF#000000##FFFFFF
##AF2F331.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544D32
Deuteranopia (green-blind)
#74692F
Tritanopia (blue-blind)
#C00032
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af2f33;
/* rgb */ color: rgb(175, 47, 51);
/* oklch */ color: oklch(50.5% 0.164 23.8);
Tailwind
colors: {
  custom: {
    50: '#cf716b',
    500: '#af2f33',
    950: '#000000',
  },
}
SCSS
$custom: #af2f33;
$custom-light: #cf716b;
$custom-dark: #000000;
JSON
{
  "hex": "#af2f33",
  "rgb": {
    "r": 175,
    "g": 47,
    "b": 51
  },
  "hsl": {
    "h": 358.125,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.50463,
    "c": 0.1644,
    "h": 23.8
  },
  "luminance": 0.11386
}

Semantic roles & 50–950 ramp

primary
#AF2F33
secondary
#75C4C2
accent
#E1DC47
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A

Preview Lab

Preview with #AF2F33

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

Preview Lab → · Contrast checker → · Palette generator →

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