#AF4061#AF4061

#AF4061 is a mid, vivid pink. Relative luminance 0.136; OKLCH L 53.4% C 0.147 H 5.2°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#AF4061
RGBrgb(175, 64, 97)
HSLhsl(342, 46%, 47%)
HSVhsv(342, 63%, 69%)
CMYKcmyk(0%, 63.4%, 44.6%, 31.4%)
CIE-LABlab(43.72, 48.04, 4.99)
CIE-LCHlch(43.72, 48.30, 5.94°)
OKLaboklab(53.38% 0.1465 0.0134)
OKLCHoklch(53.38% 0.147 5.2)
XYZxyz(21.6718, 13.6464, 12.7997)
Luminance0.1364 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4061 #40AF8E
analogous
#AF4099 #AF4061 #AF5640
triadic
#AF4061 #61AF40 #4061AF
tetradic
#AF4061 #99AF40 #40AF8E #5640AF
square
#AF4061 #99AF40 #40AF8E #5640AF
split-complementary
#AF4061 #40AF56 #4099AF
monochromatic
#551F2F #823048 #AF4061 #C76582 #D792A7

Accessibility & contrast

On white

5.63
#AF4061 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#AF4061 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4061
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4061#FFFFFF#000000##FFFFFF
##AF40611.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#575A62
Deuteranopia (green-blind)
#746F5E
Tritanopia (blue-blind)
#BE324D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #af4061;
/* rgb */ color: rgb(175, 64, 97);
/* oklch */ color: oklch(53.4% 0.147 5.2);
Tailwind
colors: {
  custom: {
    50: '#cb7b8d',
    500: '#af4061',
    950: '#000000',
  },
}
SCSS
$custom: #af4061;
$custom-light: #cb7b8d;
$custom-dark: #000000;
JSON
{
  "hex": "#af4061",
  "rgb": {
    "r": 175,
    "g": 64,
    "b": 97
  },
  "hsl": {
    "h": 342.162,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.5338,
    "c": 0.14708,
    "h": 5.2
  },
  "luminance": 0.13644
}

Semantic roles & 50–950 ramp

primary
#AF4061
secondary
#88C3B1
accent
#D6AF52
background
#FDF7F8
surface
#FAEEF0
border
#D3C9CB
text
#140A0C
muted
#837C7D

Preview Lab

Preview with #AF4061

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

Preview Lab → · Contrast checker → · Palette generator →

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