#AF2E42#AF2E42

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

Color values

HEX#AF2E42
RGBrgb(175, 46, 66)
HSLhsl(351, 58%, 43%)
HSVhsv(351, 74%, 69%)
CMYKcmyk(0%, 73.7%, 62.3%, 31.4%)
CIE-LABlab(40.35, 52.71, 19.67)
CIE-LCHlch(40.35, 56.26, 20.47°)
OKLaboklab(50.64% 0.1574 0.0477)
OKLCHoklch(50.64% 0.165 16.9)
XYZxyz(19.6416, 11.4642, 6.3318)
Luminance0.1146 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2E42 #2EAF9B
analogous
#AF2E82 #AF2E42 #AF5B2E
triadic
#AF2E42 #42AF2E #2E42AF
tetradic
#AF2E42 #82AF2E #2EAF9B #5B2EAF
square
#AF2E42 #82AF2E #2EAF9B #5B2EAF
split-complementary
#AF2E42 #2EAF5B #2E82AF
monochromatic
#4E151D #7F2130 #AF2E42 #D04B5F #DC7B8A

Accessibility & contrast

On white

6.38
#AF2E42 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF2E42
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2E42#FFFFFF#000000##FFFFFF
##AF2E421.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514E42
Deuteranopia (green-blind)
#72693E
Tritanopia (blue-blind)
#C00036
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af2e42;
/* rgb */ color: rgb(175, 46, 66);
/* oklch */ color: oklch(50.6% 0.165 16.9);
Tailwind
colors: {
  custom: {
    50: '#ce7176',
    500: '#af2e42',
    950: '#000000',
  },
}
SCSS
$custom: #af2e42;
$custom-light: #ce7176;
$custom-dark: #000000;
JSON
{
  "hex": "#af2e42",
  "rgb": {
    "r": 175,
    "g": 46,
    "b": 66
  },
  "hsl": {
    "h": 350.698,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.50637,
    "c": 0.16451,
    "h": 16.9
  },
  "luminance": 0.11461
}

Semantic roles & 50–950 ramp

primary
#AF2E42
secondary
#74C5B8
accent
#E2C946
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150808
muted
#837B7B

Preview Lab

Preview with #AF2E42

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

Preview Lab → · Contrast checker → · Palette generator →

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