#AF2E47#AF2E47

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

Color values

HEX#AF2E47
RGBrgb(175, 46, 71)
HSLhsl(348, 58%, 43%)
HSVhsv(348, 74%, 69%)
CMYKcmyk(0%, 73.7%, 59.4%, 31.4%)
CIE-LABlab(40.45, 53.05, 16.67)
CIE-LCHlch(40.45, 55.61, 17.45°)
OKLaboklab(50.74% 0.1594 0.0411)
OKLCHoklch(50.74% 0.165 14.5)
XYZxyz(19.7955, 11.5257, 7.1423)
Luminance0.1152 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2E47 #2EAF96
analogous
#AF2E87 #AF2E47 #AF552E
triadic
#AF2E47 #47AF2E #2E47AF
tetradic
#AF2E47 #87AF2E #2EAF96 #552EAF
square
#AF2E47 #87AF2E #2EAF96 #552EAF
split-complementary
#AF2E47 #2EAF55 #2E87AF
monochromatic
#4E1520 #7F2133 #AF2E47 #D04B64 #DC7B8E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF2E47#FFFFFF#000000##FFFFFF
##AF2E471.006.353.306.35
#FFFFFF6.351.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504E47
Deuteranopia (green-blind)
#716944
Tritanopia (blue-blind)
#C00438
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af2e47;
/* rgb */ color: rgb(175, 46, 71);
/* oklch */ color: oklch(50.7% 0.165 14.5);
Tailwind
colors: {
  custom: {
    50: '#ce717a',
    500: '#af2e47',
    950: '#000000',
  },
}
SCSS
$custom: #af2e47;
$custom-light: #ce717a;
$custom-dark: #000000;
JSON
{
  "hex": "#af2e47",
  "rgb": {
    "r": 175,
    "g": 46,
    "b": 71
  },
  "hsl": {
    "h": 348.372,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.50744,
    "c": 0.16465,
    "h": 14.5
  },
  "luminance": 0.11523
}

Semantic roles & 50–950 ramp

primary
#AF2E47
secondary
#74C5B5
accent
#E2C346
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150809
muted
#837B7B

Preview Lab

Preview with #AF2E47

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

Preview Lab → · Contrast checker → · Palette generator →

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