#AF2695#AF2695

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

Color values

HEX#AF2695
RGBrgb(175, 38, 149)
HSLhsl(311, 64%, 42%)
HSVhsv(311, 78%, 69%)
CMYKcmyk(0%, 78.3%, 14.9%, 31.4%)
CIE-LABlab(42.27, 63.99, -29.13)
CIE-LCHlch(42.27, 70.31, 335.52°)
OKLaboklab(52.95% 0.1889 -0.0793)
OKLCHoklch(52.95% 0.205 337.2)
XYZxyz(23.7976, 12.6724, 29.6206)
Luminance0.1267 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2695 #26AF40
analogous
#8526AF #AF2695 #AF2651
triadic
#AF2695 #95AF26 #2695AF
tetradic
#AF2695 #AF8526 #26AF40 #2651AF
square
#AF2695 #AF8526 #26AF40 #2651AF
split-complementary
#AF2695 #51AF26 #26AF85
monochromatic
#4A103F #7D1B6A #AF2695 #D53DB8 #E070CB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF2695#FFFFFF#000000##FFFFFF
##AF26951.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)
#2B5698
Deuteranopia (green-blind)
#5B6B92
Tritanopia (blue-blind)
#B92F5C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #af2695;
/* rgb */ color: rgb(175, 38, 149);
/* oklch */ color: oklch(53.0% 0.205 337.2);
Tailwind
colors: {
  custom: {
    50: '#cb70b4',
    500: '#af2695',
    950: '#000000',
  },
}
SCSS
$custom: #af2695;
$custom-light: #cb70b4;
$custom-dark: #000000;
JSON
{
  "hex": "#af2695",
  "rgb": {
    "r": 175,
    "g": 38,
    "b": 149
  },
  "hsl": {
    "h": 311.387,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.52953,
    "c": 0.20491,
    "h": 337.2
  },
  "luminance": 0.1267
}

Semantic roles & 50–950 ramp

primary
#AF2695
secondary
#6AC77C
accent
#E76040
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #AF2695

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

Preview Lab → · Contrast checker → · Palette generator →

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