#AF3A6E#AF3A6E

#AF3A6E is a mid, vivid pink. Relative luminance 0.133; OKLCH L 53.1% C 0.159 H 356.6°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#AF3A6E
RGBrgb(175, 58, 110)
HSLhsl(333, 50%, 46%)
HSVhsv(333, 67%, 69%)
CMYKcmyk(0%, 66.9%, 37.1%, 31.4%)
CIE-LABlab(43.16, 52.01, -3.86)
CIE-LCHlch(43.16, 52.15, 355.75°)
OKLaboklab(53.09% 0.1591 -0.0095)
OKLCHoklch(53.09% 0.159 356.6)
XYZxyz(22.0081, 13.2684, 16.1509)
Luminance0.1327 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3A6E #3AAF7B
analogous
#AF3AA9 #AF3A6E #AF403A
triadic
#AF3A6E #6EAF3A #3A6EAF
tetradic
#AF3A6E #A9AF3A #3AAF7B #403AAF
square
#AF3A6E #A9AF3A #3AAF7B #403AAF
split-complementary
#AF3A6E #3AAF40 #3AA9AF
monochromatic
#531C34 #812B51 #AF3A6E #C95D8D #D98BAD

Accessibility & contrast

On white

5.75
#AF3A6E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#AF3A6E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3A6E
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3A6E#FFFFFF#000000##FFFFFF
##AF3A6E1.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F586F
Deuteranopia (green-blind)
#6F6E6B
Tritanopia (blue-blind)
#BD2F4F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #af3a6e;
/* rgb */ color: rgb(175, 58, 110);
/* oklch */ color: oklch(53.1% 0.159 356.6);
Tailwind
colors: {
  custom: {
    50: '#cb7897',
    500: '#af3a6e',
    950: '#000000',
  },
}
SCSS
$custom: #af3a6e;
$custom-light: #cb7897;
$custom-dark: #000000;
JSON
{
  "hex": "#af3a6e",
  "rgb": {
    "r": 175,
    "g": 58,
    "b": 110
  },
  "hsl": {
    "h": 333.333,
    "s": 50.215,
    "l": 45.686
  },
  "oklch": {
    "l": 0.53094,
    "c": 0.15941,
    "h": 356.6
  },
  "luminance": 0.13266
}

Semantic roles & 50–950 ramp

primary
#AF3A6E
secondary
#82C3A6
accent
#DA9C4E
background
#FDF7F9
surface
#FAEEF2
border
#D3C9CC
text
#14090D
muted
#837B7E

Preview Lab

Preview with #AF3A6E

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

Preview Lab → · Contrast checker → · Palette generator →

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