#AF2F38#AF2F38

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

Color values

HEX#AF2F38
RGBrgb(175, 47, 56)
HSLhsl(356, 58%, 44%)
HSVhsv(356, 73%, 69%)
CMYKcmyk(0%, 73.1%, 68%, 31.4%)
CIE-LABlab(40.30, 51.76, 25.81)
CIE-LCHlch(40.30, 57.84, 26.51°)
OKLaboklab(50.54% 0.1524 0.0605)
OKLCHoklch(50.54% 0.164 21.7)
XYZxyz(19.4116, 11.4354, 4.9257)
Luminance0.1143 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2F38 #2FAFA6
analogous
#AF2F78 #AF2F38 #AF662F
triadic
#AF2F38 #38AF2F #2F38AF
tetradic
#AF2F38 #78AF2F #2FAFA6 #662FAF
square
#AF2F38 #78AF2F #2FAFA6 #662FAF
split-complementary
#AF2F38 #2FAF66 #2F78AF
monochromatic
#4F1519 #7F2229 #AF2F38 #CF4C55 #DC7C83

Accessibility & contrast

On white

6.39
#AF2F38 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#AF2F38 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2F38
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2F38#FFFFFF#000000##FFFFFF
##AF2F381.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534E37
Deuteranopia (green-blind)
#736934
Tritanopia (blue-blind)
#C00033
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af2f38;
/* rgb */ color: rgb(175, 47, 56);
/* oklch */ color: oklch(50.5% 0.164 21.7);
Tailwind
colors: {
  custom: {
    50: '#ce716e',
    500: '#af2f38',
    950: '#000000',
  },
}
SCSS
$custom: #af2f38;
$custom-light: #ce716e;
$custom-dark: #000000;
JSON
{
  "hex": "#af2f38",
  "rgb": {
    "r": 175,
    "g": 47,
    "b": 56
  },
  "hsl": {
    "h": 355.781,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.50545,
    "c": 0.16393,
    "h": 21.7
  },
  "luminance": 0.11433
}

Semantic roles & 50–950 ramp

primary
#AF2F38
secondary
#75C4BF
accent
#E1D647
background
#FDF7F6
surface
#FBEDEC
border
#D4C8C7
text
#150807
muted
#837B7A

Preview Lab

Preview with #AF2F38

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

Preview Lab → · Contrast checker → · Palette generator →

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