#AF2E45#AF2E45

#AF2E45 is a mid, vivid red. Relative luminance 0.115; OKLCH L 50.7% C 0.165 H 15.4°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#AF2E45
RGBrgb(175, 46, 69)
HSLhsl(349, 58%, 43%)
HSVhsv(349, 74%, 69%)
CMYKcmyk(0%, 73.7%, 60.6%, 31.4%)
CIE-LABlab(40.41, 52.91, 17.87)
CIE-LCHlch(40.41, 55.85, 18.66°)
OKLaboklab(50.7% 0.1586 0.0438)
OKLCHoklch(50.7% 0.165 15.4)
XYZxyz(19.7323, 11.5005, 6.8098)
Luminance0.1150 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2E45 #2EAF98
analogous
#AF2E85 #AF2E45 #AF572E
triadic
#AF2E45 #45AF2E #2E45AF
tetradic
#AF2E45 #85AF2E #2EAF98 #572EAF
square
#AF2E45 #85AF2E #2EAF98 #572EAF
split-complementary
#AF2E45 #2EAF57 #2E85AF
monochromatic
#4E151F #7F2132 #AF2E45 #D04B62 #DC7B8C

Accessibility & contrast

On white

6.36
#AF2E45 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#AF2E45 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2E45
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2E45#FFFFFF#000000##FFFFFF
##AF2E451.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514E45
Deuteranopia (green-blind)
#726942
Tritanopia (blue-blind)
#C00238
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af2e45;
/* rgb */ color: rgb(175, 46, 69);
/* oklch */ color: oklch(50.7% 0.165 15.4);
Tailwind
colors: {
  custom: {
    50: '#ce7178',
    500: '#af2e45',
    950: '#000000',
  },
}
SCSS
$custom: #af2e45;
$custom-light: #ce7178;
$custom-dark: #000000;
JSON
{
  "hex": "#af2e45",
  "rgb": {
    "r": 175,
    "g": 46,
    "b": 69
  },
  "hsl": {
    "h": 349.302,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.507,
    "c": 0.16457,
    "h": 15.4
  },
  "luminance": 0.11498
}

Semantic roles & 50–950 ramp

primary
#AF2E45
secondary
#74C5B6
accent
#E2C646
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150808
muted
#837B7B

Preview Lab

Preview with #AF2E45

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

Preview Lab → · Contrast checker → · Palette generator →

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