#AF2F47#AF2F47

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

Color values

HEX#AF2F47
RGBrgb(175, 47, 71)
HSLhsl(349, 58%, 44%)
HSVhsv(349, 73%, 69%)
CMYKcmyk(0%, 73.1%, 59.4%, 31.4%)
CIE-LABlab(40.58, 52.69, 16.84)
CIE-LCHlch(40.58, 55.32, 17.73°)
OKLaboklab(50.84% 0.1583 0.0415)
OKLCHoklch(50.84% 0.164 14.7)
XYZxyz(19.8350, 11.6048, 7.1555)
Luminance0.1160 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2F47 #2FAF97
analogous
#AF2F87 #AF2F47 #AF572F
triadic
#AF2F47 #47AF2F #2F47AF
tetradic
#AF2F47 #87AF2F #2FAF97 #572FAF
square
#AF2F47 #87AF2F #2FAF97 #572FAF
split-complementary
#AF2F47 #2FAF57 #2F87AF
monochromatic
#4F1520 #7F2233 #AF2F47 #CF4C65 #DC7C8E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF2F47#FFFFFF#000000##FFFFFF
##AF2F471.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)
#514F47
Deuteranopia (green-blind)
#726944
Tritanopia (blue-blind)
#C00739
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #af2f47;
/* rgb */ color: rgb(175, 47, 71);
/* oklch */ color: oklch(50.8% 0.164 14.7);
Tailwind
colors: {
  custom: {
    50: '#cd727a',
    500: '#af2f47',
    950: '#000000',
  },
}
SCSS
$custom: #af2f47;
$custom-light: #cd727a;
$custom-dark: #000000;
JSON
{
  "hex": "#af2f47",
  "rgb": {
    "r": 175,
    "g": 47,
    "b": 71
  },
  "hsl": {
    "h": 348.75,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.5084,
    "c": 0.16364,
    "h": 14.7
  },
  "luminance": 0.11602
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF2F47

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

Preview Lab → · Contrast checker → · Palette generator →

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