#AF2642#AF2642

#AF2642 is a mid, vivid red. Relative luminance 0.109; OKLCH L 49.9% C 0.172 H 15.1°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#AF2642
RGBrgb(175, 38, 66)
HSLhsl(348, 64%, 42%)
HSVhsv(348, 78%, 69%)
CMYKcmyk(0%, 78.3%, 62.3%, 31.4%)
CIE-LABlab(39.41, 55.36, 18.43)
CIE-LCHlch(39.41, 58.35, 18.41°)
OKLaboklab(49.94% 0.1659 0.0448)
OKLCHoklch(49.94% 0.172 15.1)
XYZxyz(19.3577, 10.8964, 6.2371)
Luminance0.1089 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2642 #26AF93
analogous
#AF2687 #AF2642 #AF4F26
triadic
#AF2642 #42AF26 #2642AF
tetradic
#AF2642 #87AF26 #26AF93 #4F26AF
square
#AF2642 #87AF26 #26AF93 #4F26AF
split-complementary
#AF2642 #26AF4F #2687AF
monochromatic
#4A101C #7D1B2F #AF2642 #D53D5C #E07087

Accessibility & contrast

On white

6.61
#AF2642 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#AF2642 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2642
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2642#FFFFFF#000000##FFFFFF
##AF26421.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4B42
Deuteranopia (green-blind)
#70673E
Tritanopia (blue-blind)
#C00032
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #af2642;
/* rgb */ color: rgb(175, 38, 66);
/* oklch */ color: oklch(49.9% 0.172 15.1);
Tailwind
colors: {
  custom: {
    50: '#ce6e76',
    500: '#af2642',
    950: '#000000',
  },
}
SCSS
$custom: #af2642;
$custom-light: #ce6e76;
$custom-dark: #000000;
JSON
{
  "hex": "#af2642",
  "rgb": {
    "r": 175,
    "g": 38,
    "b": 66
  },
  "hsl": {
    "h": 347.737,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.49936,
    "c": 0.1719,
    "h": 15.1
  },
  "luminance": 0.10894
}

Semantic roles & 50–950 ramp

primary
#AF2642
secondary
#6AC7B4
accent
#E7C540
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150808
muted
#837B7B

Preview Lab

Preview with #AF2642

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

Preview Lab → · Contrast checker → · Palette generator →

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