#AF2E58#AF2E58

#AF2E58 is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.2% C 0.167 H 5.9°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#AF2E58
RGBrgb(175, 46, 88)
HSLhsl(340, 58%, 43%)
HSVhsv(340, 74%, 69%)
CMYKcmyk(0%, 73.7%, 49.7%, 31.4%)
CIE-LABlab(40.86, 54.39, 6.52)
CIE-LCHlch(40.86, 54.78, 6.84°)
OKLaboklab(51.18% 0.1661 0.0171)
OKLCHoklch(51.18% 0.167 5.9)
XYZxyz(20.4194, 11.7753, 10.4282)
Luminance0.1177 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2E58 #2EAF85
analogous
#AF2E98 #AF2E58 #AF442E
triadic
#AF2E58 #58AF2E #2E58AF
tetradic
#AF2E58 #98AF2E #2EAF85 #442EAF
square
#AF2E58 #98AF2E #2EAF85 #442EAF
split-complementary
#AF2E58 #2EAF44 #2E98AF
monochromatic
#4E1527 #7F2140 #AF2E58 #D04B76 #DC7B9B

Accessibility & contrast

On white

6.26
#AF2E58 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#AF2E58 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2E58
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2E58#FFFFFF#000000##FFFFFF
##AF2E581.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5059
Deuteranopia (green-blind)
#6F6A55
Tritanopia (blue-blind)
#BF1240
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #af2e58;
/* rgb */ color: rgb(175, 46, 88);
/* oklch */ color: oklch(51.2% 0.167 5.9);
Tailwind
colors: {
  custom: {
    50: '#cd7286',
    500: '#af2e58',
    950: '#000000',
  },
}
SCSS
$custom: #af2e58;
$custom-light: #cd7286;
$custom-dark: #000000;
JSON
{
  "hex": "#af2e58",
  "rgb": {
    "r": 175,
    "g": 46,
    "b": 88
  },
  "hsl": {
    "h": 340.465,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.51175,
    "c": 0.16694,
    "h": 5.9
  },
  "luminance": 0.11773
}

Semantic roles & 50–950 ramp

primary
#AF2E58
secondary
#74C5AA
accent
#E2AF46
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#14080B
muted
#837B7C

Preview Lab

Preview with #AF2E58

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

Preview Lab → · Contrast checker → · Palette generator →

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