#AF2F46#AF2F46

#AF2F46 is a mid, vivid red. Relative luminance 0.116; OKLCH L 50.8% C 0.164 H 15.2°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#AF2F46
RGBrgb(175, 47, 70)
HSLhsl(349, 58%, 44%)
HSVhsv(349, 73%, 69%)
CMYKcmyk(0%, 73.1%, 60%, 31.4%)
CIE-LABlab(40.56, 52.62, 17.44)
CIE-LCHlch(40.56, 55.44, 18.34°)
OKLaboklab(50.82% 0.1579 0.0428)
OKLCHoklch(50.82% 0.164 15.2)
XYZxyz(19.8032, 11.5920, 6.9879)
Luminance0.1159 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2F46 #2FAF98
analogous
#AF2F86 #AF2F46 #AF582F
triadic
#AF2F46 #46AF2F #2F46AF
tetradic
#AF2F46 #86AF2F #2FAF98 #582FAF
square
#AF2F46 #86AF2F #2FAF98 #582FAF
split-complementary
#AF2F46 #2FAF58 #2F86AF
monochromatic
#4F151F #7F2233 #AF2F46 #CF4C64 #DC7C8E

Accessibility & contrast

On white

6.33
#AF2F46 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF2F46
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2F46#FFFFFF#000000##FFFFFF
##AF2F461.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514F46
Deuteranopia (green-blind)
#726943
Tritanopia (blue-blind)
#C00639
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #af2f46;
/* rgb */ color: rgb(175, 47, 70);
/* oklch */ color: oklch(50.8% 0.164 15.2);
Tailwind
colors: {
  custom: {
    50: '#ce7279',
    500: '#af2f46',
    950: '#000000',
  },
}
SCSS
$custom: #af2f46;
$custom-light: #ce7279;
$custom-dark: #000000;
JSON
{
  "hex": "#af2f46",
  "rgb": {
    "r": 175,
    "g": 47,
    "b": 70
  },
  "hsl": {
    "h": 349.219,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.50818,
    "c": 0.1636,
    "h": 15.2
  },
  "luminance": 0.11589
}

Semantic roles & 50–950 ramp

primary
#AF2F46
secondary
#75C4B6
accent
#E1C547
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150809
muted
#837B7B

Preview Lab

Preview with #AF2F46

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

Preview Lab → · Contrast checker → · Palette generator →

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