#AF2597#AF2597

#AF2597 is a mid, highly saturated pink. Relative luminance 0.127; OKLCH L 53.0% C 0.207 H 336.5°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#AF2597
RGBrgb(175, 37, 151)
HSLhsl(310, 65%, 42%)
HSVhsv(310, 79%, 69%)
CMYKcmyk(0%, 78.9%, 13.7%, 31.4%)
CIE-LABlab(42.27, 64.56, -30.34)
CIE-LCHlch(42.27, 71.33, 334.83°)
OKLaboklab(52.99% 0.1899 -0.0827)
OKLCHoklch(52.99% 0.207 336.5)
XYZxyz(23.9271, 12.6737, 30.4583)
Luminance0.1267 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2597 #25AF3D
analogous
#8225AF #AF2597 #AF2552
triadic
#AF2597 #97AF25 #2597AF
tetradic
#AF2597 #AF8225 #25AF3D #2552AF
square
#AF2597 #AF8225 #25AF3D #2552AF
split-complementary
#AF2597 #52AF25 #25AF82
monochromatic
#4A1040 #7C1A6B #AF2597 #D63CBB #E06ECC

Accessibility & contrast

On white

5.94
#AF2597 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#AF2597 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2597
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2597#FFFFFF#000000##FFFFFF
##AF25971.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28579A
Deuteranopia (green-blind)
#5A6B94
Tritanopia (blue-blind)
#B8305D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #af2597;
/* rgb */ color: rgb(175, 37, 151);
/* oklch */ color: oklch(53.0% 0.207 336.5);
Tailwind
colors: {
  custom: {
    50: '#cb70b6',
    500: '#af2597',
    950: '#000000',
  },
}
SCSS
$custom: #af2597;
$custom-light: #cb70b6;
$custom-dark: #000000;
JSON
{
  "hex": "#af2597",
  "rgb": {
    "r": 175,
    "g": 37,
    "b": 151
  },
  "hsl": {
    "h": 310.435,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.52987,
    "c": 0.20718,
    "h": 336.5
  },
  "luminance": 0.12671
}

Semantic roles & 50–950 ramp

primary
#AF2597
secondary
#69C779
accent
#E85D40
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #AF2597

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

Preview Lab → · Contrast checker → · Palette generator →

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