#AF2E48#AF2E48

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

Color values

HEX#AF2E48
RGBrgb(175, 46, 72)
HSLhsl(348, 58%, 43%)
HSVhsv(348, 74%, 69%)
CMYKcmyk(0%, 73.7%, 58.9%, 31.4%)
CIE-LABlab(40.47, 53.12, 16.07)
CIE-LCHlch(40.47, 55.50, 16.83°)
OKLaboklab(50.77% 0.1598 0.0397)
OKLCHoklch(50.77% 0.165 14)
XYZxyz(19.8278, 11.5387, 7.3128)
Luminance0.1154 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2E48 #2EAF95
analogous
#AF2E88 #AF2E48 #AF542E
triadic
#AF2E48 #48AF2E #2E48AF
tetradic
#AF2E48 #88AF2E #2EAF95 #542EAF
square
#AF2E48 #88AF2E #2EAF95 #542EAF
split-complementary
#AF2E48 #2EAF54 #2E88AF
monochromatic
#4E1520 #7F2134 #AF2E48 #D04B65 #DC7B8F

Accessibility & contrast

On white

6.35
#AF2E48 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#AF2E48 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2E48
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2E48#FFFFFF#000000##FFFFFF
##AF2E481.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504E48
Deuteranopia (green-blind)
#716945
Tritanopia (blue-blind)
#C00539
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af2e48;
/* rgb */ color: rgb(175, 46, 72);
/* oklch */ color: oklch(50.8% 0.165 14.0);
Tailwind
colors: {
  custom: {
    50: '#cd717a',
    500: '#af2e48',
    950: '#000000',
  },
}
SCSS
$custom: #af2e48;
$custom-light: #cd717a;
$custom-dark: #000000;
JSON
{
  "hex": "#af2e48",
  "rgb": {
    "r": 175,
    "g": 46,
    "b": 72
  },
  "hsl": {
    "h": 347.907,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.50767,
    "c": 0.16471,
    "h": 14
  },
  "luminance": 0.11536
}

Semantic roles & 50–950 ramp

primary
#AF2E48
secondary
#74C5B4
accent
#E2C246
background
#FDF7F7
surface
#FAEDED
border
#D3C8C8
text
#150809
muted
#837B7B

Preview Lab

Preview with #AF2E48

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

Preview Lab → · Contrast checker → · Palette generator →

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