#AF2E46#AF2E46

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

Color values

HEX#AF2E46
RGBrgb(175, 46, 70)
HSLhsl(349, 58%, 43%)
HSVhsv(349, 74%, 69%)
CMYKcmyk(0%, 73.7%, 60%, 31.4%)
CIE-LABlab(40.43, 52.98, 17.27)
CIE-LCHlch(40.43, 55.72, 18.06°)
OKLaboklab(50.72% 0.159 0.0424)
OKLCHoklch(50.72% 0.165 14.9)
XYZxyz(19.7637, 11.5130, 6.9747)
Luminance0.1151 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2E46 #2EAF97
analogous
#AF2E86 #AF2E46 #AF562E
triadic
#AF2E46 #46AF2E #2E46AF
tetradic
#AF2E46 #86AF2E #2EAF97 #562EAF
square
#AF2E46 #86AF2E #2EAF97 #562EAF
split-complementary
#AF2E46 #2EAF56 #2E86AF
monochromatic
#4E151F #7F2133 #AF2E46 #D04B63 #DC7B8D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF2E46#FFFFFF#000000##FFFFFF
##AF2E461.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)
#514E46
Deuteranopia (green-blind)
#726943
Tritanopia (blue-blind)
#C00338
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af2e46;
/* rgb */ color: rgb(175, 46, 70);
/* oklch */ color: oklch(50.7% 0.165 14.9);
Tailwind
colors: {
  custom: {
    50: '#ce7179',
    500: '#af2e46',
    950: '#000000',
  },
}
SCSS
$custom: #af2e46;
$custom-light: #ce7179;
$custom-dark: #000000;
JSON
{
  "hex": "#af2e46",
  "rgb": {
    "r": 175,
    "g": 46,
    "b": 70
  },
  "hsl": {
    "h": 348.837,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.50722,
    "c": 0.1646,
    "h": 14.9
  },
  "luminance": 0.1151
}

Semantic roles & 50–950 ramp

primary
#AF2E46
secondary
#74C5B6
accent
#E2C546
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150809
muted
#837B7B

Preview Lab

Preview with #AF2E46

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

Preview Lab → · Contrast checker → · Palette generator →

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