#AF2574#AF2574

#AF2574 is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.4% C 0.186 H 351.0°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#AF2574
RGBrgb(175, 37, 116)
HSLhsl(326, 65%, 42%)
HSVhsv(326, 79%, 69%)
CMYKcmyk(0%, 78.9%, 33.7%, 31.4%)
CIE-LABlab(40.74, 60.07, -11.22)
CIE-LCHlch(40.74, 61.11, 349.42°)
OKLaboklab(51.38% 0.1842 -0.0291)
OKLCHoklch(51.38% 0.186 351)
XYZxyz(21.4944, 11.7007, 17.6461)
Luminance0.1170 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2574 #25AF60
analogous
#A525AF #AF2574 #AF252F
triadic
#AF2574 #74AF25 #2574AF
tetradic
#AF2574 #AFA525 #25AF60 #252FAF
square
#AF2574 #AFA525 #25AF60 #252FAF
split-complementary
#AF2574 #2FAF25 #25AFA5
monochromatic
#4A1031 #7C1A53 #AF2574 #D63C94 #E06EAF

Accessibility & contrast

On white

6.29
#AF2574 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#AF2574 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2574
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2574#FFFFFF#000000##FFFFFF
##AF25741.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5076
Deuteranopia (green-blind)
#666971
Tritanopia (blue-blind)
#BC184A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #af2574;
/* rgb */ color: rgb(175, 37, 116);
/* oklch */ color: oklch(51.4% 0.186 351.0);
Tailwind
colors: {
  custom: {
    50: '#cc6f9c',
    500: '#af2574',
    950: '#000000',
  },
}
SCSS
$custom: #af2574;
$custom-light: #cc6f9c;
$custom-dark: #000000;
JSON
{
  "hex": "#af2574",
  "rgb": {
    "r": 175,
    "g": 37,
    "b": 116
  },
  "hsl": {
    "h": 325.652,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.51381,
    "c": 0.18645,
    "h": 351
  },
  "luminance": 0.11698
}

Semantic roles & 50–950 ramp

primary
#AF2574
secondary
#69C791
accent
#E88840
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14080E
muted
#837B7E

Preview Lab

Preview with #AF2574

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

Preview Lab → · Contrast checker → · Palette generator →

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