#AF2D67#AF2D67

#AF2D67 is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.6% C 0.173 H 358.1°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#AF2D67
RGBrgb(175, 45, 103)
HSLhsl(333, 59%, 43%)
HSVhsv(333, 74%, 69%)
CMYKcmyk(0%, 74.3%, 41.1%, 31.4%)
CIE-LABlab(41.17, 56.16, -2.45)
CIE-LCHlch(41.17, 56.21, 357.51°)
OKLaboklab(51.55% 0.1724 -0.0057)
OKLCHoklch(51.55% 0.173 358.1)
XYZxyz(21.0673, 11.9727, 14.0309)
Luminance0.1197 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2D67 #2DAF75
analogous
#AF2DA8 #AF2D67 #AF342D
triadic
#AF2D67 #67AF2D #2D67AF
tetradic
#AF2D67 #A8AF2D #2DAF75 #342DAF
square
#AF2D67 #A8AF2D #2DAF75 #342DAF
split-complementary
#AF2D67 #2DAF34 #2DA8AF
monochromatic
#4E142E #7E204A #AF2D67 #D04985 #DD7AA6

Accessibility & contrast

On white

6.19
#AF2D67 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#AF2D67 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2D67
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2D67#FFFFFF#000000##FFFFFF
##AF2D671.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485168
Deuteranopia (green-blind)
#6C6A64
Tritanopia (blue-blind)
#BE1B46
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #af2d67;
/* rgb */ color: rgb(175, 45, 103);
/* oklch */ color: oklch(51.6% 0.173 358.1);
Tailwind
colors: {
  custom: {
    50: '#cc7292',
    500: '#af2d67',
    950: '#000000',
  },
}
SCSS
$custom: #af2d67;
$custom-light: #cc7292;
$custom-dark: #000000;
JSON
{
  "hex": "#af2d67",
  "rgb": {
    "r": 175,
    "g": 45,
    "b": 103
  },
  "hsl": {
    "h": 333.231,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.51552,
    "c": 0.17251,
    "h": 358.1
  },
  "luminance": 0.1197
}

Semantic roles & 50–950 ramp

primary
#AF2D67
secondary
#73C5A0
accent
#E29C46
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14090D
muted
#837B7D

Preview Lab

Preview with #AF2D67

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

Preview Lab → · Contrast checker → · Palette generator →

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