#AF3151#AF3151

#AF3151 is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.3% C 0.162 H 10.1°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#AF3151
RGBrgb(175, 49, 81)
HSLhsl(345, 56%, 44%)
HSVhsv(345, 72%, 69%)
CMYKcmyk(0%, 72%, 53.7%, 31.4%)
CIE-LABlab(41.07, 52.72, 11.23)
CIE-LCHlch(41.07, 53.90, 12.02°)
OKLaboklab(51.27% 0.1599 0.0285)
OKLCHoklch(51.27% 0.162 10.1)
XYZxyz(20.2645, 11.9074, 9.0143)
Luminance0.1191 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3151 #31AF8F
analogous
#AF3190 #AF3151 #AF5031
triadic
#AF3151 #51AF31 #3151AF
tetradic
#AF3151 #90AF31 #31AF8F #5031AF
square
#AF3151 #90AF31 #31AF8F #5031AF
split-complementary
#AF3151 #31AF50 #3190AF
monochromatic
#4F1625 #7F243B #AF3151 #CE4F6F #DB7F97

Accessibility & contrast

On white

6.21
#AF3151 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#AF3151 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3151
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3151#FFFFFF#000000##FFFFFF
##AF31511.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505152
Deuteranopia (green-blind)
#716A4E
Tritanopia (blue-blind)
#BF143E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #af3151;
/* rgb */ color: rgb(175, 49, 81);
/* oklch */ color: oklch(51.3% 0.162 10.1);
Tailwind
colors: {
  custom: {
    50: '#cd7381',
    500: '#af3151',
    950: '#000000',
  },
}
SCSS
$custom: #af3151;
$custom-light: #cd7381;
$custom-dark: #000000;
JSON
{
  "hex": "#af3151",
  "rgb": {
    "r": 175,
    "g": 49,
    "b": 81
  },
  "hsl": {
    "h": 344.762,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.51274,
    "c": 0.16244,
    "h": 10.1
  },
  "luminance": 0.11905
}

Semantic roles & 50–950 ramp

primary
#AF3151
secondary
#78C4B1
accent
#E0B948
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#15090A
muted
#837B7C

Preview Lab

Preview with #AF3151

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

Preview Lab → · Contrast checker → · Palette generator →

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