#AF2D5E#AF2D5E

#AF2D5E is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.3% C 0.170 H 2.6°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#AF2D5E
RGBrgb(175, 45, 94)
HSLhsl(337, 59%, 43%)
HSVhsv(337, 74%, 69%)
CMYKcmyk(0%, 74.3%, 46.3%, 31.4%)
CIE-LABlab(40.90, 55.28, 2.81)
CIE-LCHlch(40.90, 55.35, 2.91°)
OKLaboklab(51.26% 0.1694 0.0078)
OKLCHoklch(51.26% 0.17 2.6)
XYZxyz(20.6396, 11.8016, 11.7786)
Luminance0.1180 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2D5E #2DAF7E
analogous
#AF2D9F #AF2D5E #AF3D2D
triadic
#AF2D5E #5EAF2D #2D5EAF
tetradic
#AF2D5E #9FAF2D #2DAF7E #3D2DAF
square
#AF2D5E #9FAF2D #2DAF7E #3D2DAF
split-complementary
#AF2D5E #2DAF3D #2D9FAF
monochromatic
#4E142A #7E2044 #AF2D5E #D0497C #DD7A9F

Accessibility & contrast

On white

6.25
#AF2D5E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#AF2D5E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2D5E
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2D5E#FFFFFF#000000##FFFFFF
##AF2D5E1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B505F
Deuteranopia (green-blind)
#6E6A5B
Tritanopia (blue-blind)
#BE1542
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #af2d5e;
/* rgb */ color: rgb(175, 45, 94);
/* oklch */ color: oklch(51.3% 0.170 2.6);
Tailwind
colors: {
  custom: {
    50: '#cc718b',
    500: '#af2d5e',
    950: '#000000',
  },
}
SCSS
$custom: #af2d5e;
$custom-light: #cc718b;
$custom-dark: #000000;
JSON
{
  "hex": "#af2d5e",
  "rgb": {
    "r": 175,
    "g": 45,
    "b": 94
  },
  "hsl": {
    "h": 337.385,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.51261,
    "c": 0.16954,
    "h": 2.6
  },
  "luminance": 0.11799
}

Semantic roles & 50–950 ramp

primary
#AF2D5E
secondary
#73C5A6
accent
#E2A746
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080C
muted
#837B7D

Preview Lab

Preview with #AF2D5E

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

Preview Lab → · Contrast checker → · Palette generator →

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