#AF2E39#AF2E39

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

Color values

HEX#AF2E39
RGBrgb(175, 46, 57)
HSLhsl(355, 58%, 43%)
HSVhsv(355, 74%, 69%)
CMYKcmyk(0%, 73.7%, 67.4%, 31.4%)
CIE-LABlab(40.19, 52.17, 25.06)
CIE-LCHlch(40.19, 57.88, 25.65°)
OKLaboklab(50.47% 0.1539 0.059)
OKLCHoklch(50.47% 0.165 21)
XYZxyz(19.3968, 11.3663, 5.0427)
Luminance0.1136 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2E39 #2EAFA4
analogous
#AF2E79 #AF2E39 #AF632E
triadic
#AF2E39 #39AF2E #2E39AF
tetradic
#AF2E39 #79AF2E #2EAFA4 #632EAF
square
#AF2E39 #79AF2E #2EAFA4 #632EAF
split-complementary
#AF2E39 #2EAF63 #2E79AF
monochromatic
#4E1519 #7F2129 #AF2E39 #D04B56 #DC7B83

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF2E39#FFFFFF#000000##FFFFFF
##AF2E391.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)
#534D38
Deuteranopia (green-blind)
#736935
Tritanopia (blue-blind)
#C00033
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af2e39;
/* rgb */ color: rgb(175, 46, 57);
/* oklch */ color: oklch(50.5% 0.165 21.0);
Tailwind
colors: {
  custom: {
    50: '#ce716f',
    500: '#af2e39',
    950: '#000000',
  },
}
SCSS
$custom: #af2e39;
$custom-light: #ce716f;
$custom-dark: #000000;
JSON
{
  "hex": "#af2e39",
  "rgb": {
    "r": 175,
    "g": 46,
    "b": 57
  },
  "hsl": {
    "h": 354.884,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.50465,
    "c": 0.16481,
    "h": 21
  },
  "luminance": 0.11363
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF2E39

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

Preview Lab → · Contrast checker → · Palette generator →

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