#AF4261#AF4261

#AF4261 is a mid, vivid pink. Relative luminance 0.139; OKLCH L 53.6% C 0.144 H 5.8°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#AF4261
RGBrgb(175, 66, 97)
HSLhsl(343, 45%, 47%)
HSVhsv(343, 62%, 69%)
CMYKcmyk(0%, 62.3%, 44.6%, 31.4%)
CIE-LABlab(44.05, 47.14, 5.47)
CIE-LCHlch(44.05, 47.46, 6.62°)
OKLaboklab(53.63% 0.1436 0.0146)
OKLCHoklch(53.63% 0.144 5.8)
XYZxyz(21.7866, 13.8760, 12.8380)
Luminance0.1387 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4261 #42AF90
analogous
#AF4297 #AF4261 #AF5A42
triadic
#AF4261 #61AF42 #4261AF
tetradic
#AF4261 #97AF42 #42AF90 #5A42AF
square
#AF4261 #97AF42 #42AF90 #5A42AF
split-complementary
#AF4261 #42AF5A #4297AF
monochromatic
#562030 #833148 #AF4261 #C66883 #D795A7

Accessibility & contrast

On white

5.56
#AF4261 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#AF4261 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4261
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4261#FFFFFF#000000##FFFFFF
##AF42611.005.563.775.56
#FFFFFF5.561.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#585B62
Deuteranopia (green-blind)
#75705E
Tritanopia (blue-blind)
#BE344E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #af4261;
/* rgb */ color: rgb(175, 66, 97);
/* oklch */ color: oklch(53.6% 0.144 5.8);
Tailwind
colors: {
  custom: {
    50: '#cb7c8d',
    500: '#af4261',
    950: '#000000',
  },
}
SCSS
$custom: #af4261;
$custom-light: #cb7c8d;
$custom-dark: #000000;
JSON
{
  "hex": "#af4261",
  "rgb": {
    "r": 175,
    "g": 66,
    "b": 97
  },
  "hsl": {
    "h": 342.936,
    "s": 45.228,
    "l": 47.255
  },
  "oklch": {
    "l": 0.53628,
    "c": 0.14438,
    "h": 5.8
  },
  "luminance": 0.13873
}

Semantic roles & 50–950 ramp

primary
#AF4261
secondary
#8AC2B2
accent
#D5B053
background
#FDF7F8
surface
#FAEEF0
border
#D3C9CB
text
#140A0C
muted
#837C7D

Preview Lab

Preview with #AF4261

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

Preview Lab → · Contrast checker → · Palette generator →

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