#AF2E38#AF2E38

#AF2E38 is a mid, vivid red. Relative luminance 0.114; OKLCH L 50.4% C 0.165 H 21.4°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#AF2E38
RGBrgb(175, 46, 56)
HSLhsl(355, 58%, 43%)
HSVhsv(355, 74%, 69%)
CMYKcmyk(0%, 73.7%, 68%, 31.4%)
CIE-LABlab(40.17, 52.12, 25.65)
CIE-LCHlch(40.17, 58.09, 26.21°)
OKLaboklab(50.45% 0.1535 0.0602)
OKLCHoklch(50.45% 0.165 21.4)
XYZxyz(19.3721, 11.3564, 4.9126)
Luminance0.1135 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2E38 #2EAFA5
analogous
#AF2E78 #AF2E38 #AF642E
triadic
#AF2E38 #38AF2E #2E38AF
tetradic
#AF2E38 #78AF2E #2EAFA5 #642EAF
square
#AF2E38 #78AF2E #2EAFA5 #642EAF
split-complementary
#AF2E38 #2EAF64 #2E78AF
monochromatic
#4E1519 #7F2128 #AF2E38 #D04B55 #DC7B83

Accessibility & contrast

On white

6.42
#AF2E38 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#AF2E38 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2E38
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2E38#FFFFFF#000000##FFFFFF
##AF2E381.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af2e38;
/* rgb */ color: rgb(175, 46, 56);
/* oklch */ color: oklch(50.4% 0.165 21.4);
Tailwind
colors: {
  custom: {
    50: '#ce716e',
    500: '#af2e38',
    950: '#000000',
  },
}
SCSS
$custom: #af2e38;
$custom-light: #ce716e;
$custom-dark: #000000;
JSON
{
  "hex": "#af2e38",
  "rgb": {
    "r": 175,
    "g": 46,
    "b": 56
  },
  "hsl": {
    "h": 355.349,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.50448,
    "c": 0.16487,
    "h": 21.4
  },
  "luminance": 0.11353
}

Semantic roles & 50–950 ramp

primary
#AF2E38
secondary
#74C5BE
accent
#E2D646
background
#FDF7F6
surface
#FBEDEC
border
#D4C8C7
text
#150807
muted
#837B7A

Preview Lab

Preview with #AF2E38

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

Preview Lab → · Contrast checker → · Palette generator →

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