#AF7166#AF7166

#AF7166 is a mid, moderate red. Relative luminance 0.219; OKLCH L 61.1% C 0.081 H 30.6°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#AF7166
RGBrgb(175, 113, 102)
HSLhsl(9, 31%, 54%)
HSVhsv(9, 42%, 69%)
CMYKcmyk(0%, 35.4%, 41.7%, 31.4%)
CIE-LABlab(53.91, 23.19, 16.27)
CIE-LCHlch(53.91, 28.33, 35.05°)
OKLaboklab(61.14% 0.0699 0.0413)
OKLCHoklch(61.14% 0.081 30.6)
XYZxyz(25.9838, 21.8855, 15.4236)
Luminance0.2188 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF7166 #66A4AF
analogous
#AF6680 #AF7166 #AF9666
triadic
#AF7166 #66AF71 #7166AF
tetradic
#AF7166 #80AF66 #66A4AF #9666AF
square
#AF7166 #80AF66 #66A4AF #9666AF
split-complementary
#AF7166 #66AF96 #6680AF
monochromatic
#663C35 #8E544A #AF7166 #C4968E #D9BCB6

Accessibility & contrast

On white

3.91
#AF7166 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#AF7166 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF7166
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF7166#FFFFFF#000000##000000
##AF71661.003.915.385.38
#FFFFFF3.911.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F7965
Deuteranopia (green-blind)
#8E8665
Tritanopia (blue-blind)
#BC686E
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #af7166;
/* rgb */ color: rgb(175, 113, 102);
/* oklch */ color: oklch(61.1% 0.081 30.6);
Tailwind
colors: {
  custom: {
    50: '#c99a91',
    500: '#af7166',
    950: '#000000',
  },
}
SCSS
$custom: #af7166;
$custom-light: #c99a91;
$custom-dark: #000000;
JSON
{
  "hex": "#af7166",
  "rgb": {
    "r": 175,
    "g": 113,
    "b": 102
  },
  "hsl": {
    "h": 9.041,
    "s": 31.33,
    "l": 54.314
  },
  "oklch": {
    "l": 0.61141,
    "c": 0.08116,
    "h": 30.6
  },
  "luminance": 0.21884
}

Semantic roles & 50–950 ramp

primary
#AF7166
secondary
#A9C3C8
accent
#B8C860
background
#FCF9F8
surface
#F9F2F0
border
#D2CCCB
text
#130E0C
muted
#827E7D

Preview Lab

Preview with #AF7166

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

Preview Lab → · Contrast checker → · Palette generator →

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