#AF2E4D#AF2E4D

#AF2E4D is a mid, vivid red. Relative luminance 0.116; OKLCH L 50.9% C 0.165 H 11.5°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#AF2E4D
RGBrgb(175, 46, 77)
HSLhsl(346, 58%, 43%)
HSVhsv(346, 74%, 69%)
CMYKcmyk(0%, 73.7%, 56%, 31.4%)
CIE-LABlab(40.58, 53.49, 13.08)
CIE-LCHlch(40.58, 55.06, 13.74°)
OKLaboklab(50.89% 0.1618 0.0329)
OKLCHoklch(50.89% 0.165 11.5)
XYZxyz(19.9976, 11.6066, 8.2070)
Luminance0.1160 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2E4D #2EAF90
analogous
#AF2E8D #AF2E4D #AF4F2E
triadic
#AF2E4D #4DAF2E #2E4DAF
tetradic
#AF2E4D #8DAF2E #2EAF90 #4F2EAF
square
#AF2E4D #8DAF2E #2EAF90 #4F2EAF
split-complementary
#AF2E4D #2EAF4F #2E8DAF
monochromatic
#4E1522 #7F2138 #AF2E4D #D04B6B #DC7B92

Accessibility & contrast

On white

6.32
#AF2E4D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#AF2E4D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2E4D
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2E4D#FFFFFF#000000##FFFFFF
##AF2E4D1.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4F4D
Deuteranopia (green-blind)
#71694A
Tritanopia (blue-blind)
#BF093B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #af2e4d;
/* rgb */ color: rgb(175, 46, 77);
/* oklch */ color: oklch(50.9% 0.165 11.5);
Tailwind
colors: {
  custom: {
    50: '#cd717e',
    500: '#af2e4d',
    950: '#000000',
  },
}
SCSS
$custom: #af2e4d;
$custom-light: #cd717e;
$custom-dark: #000000;
JSON
{
  "hex": "#af2e4d",
  "rgb": {
    "r": 175,
    "g": 46,
    "b": 77
  },
  "hsl": {
    "h": 345.581,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.50885,
    "c": 0.16512,
    "h": 11.5
  },
  "luminance": 0.11604
}

Semantic roles & 50–950 ramp

primary
#AF2E4D
secondary
#74C5B1
accent
#E2BC46
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#150809
muted
#837B7B

Preview Lab

Preview with #AF2E4D

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

Preview Lab → · Contrast checker → · Palette generator →

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