#AF2395#AF2395

#AF2395 is a mid, highly saturated pink. Relative luminance 0.125; OKLCH L 52.7% C 0.208 H 337.2°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#AF2395
RGBrgb(175, 35, 149)
HSLhsl(311, 67%, 41%)
HSVhsv(311, 80%, 69%)
CMYKcmyk(0%, 80%, 14.9%, 31.4%)
CIE-LABlab(41.98, 64.81, -29.58)
CIE-LCHlch(41.98, 71.24, 335.47°)
OKLaboklab(52.75% 0.1914 -0.0805)
OKLCHoklch(52.75% 0.208 337.2)
XYZxyz(23.7055, 12.4882, 29.5900)
Luminance0.1249 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2395 #23AF3D
analogous
#8323AF #AF2395 #AF234F
triadic
#AF2395 #95AF23 #2395AF
tetradic
#AF2395 #AF8323 #23AF3D #234FAF
square
#AF2395 #AF8323 #23AF3D #234FAF
split-complementary
#AF2395 #4FAF23 #23AF83
monochromatic
#490F3E #7C196A #AF2395 #D738BA #E16BCB

Accessibility & contrast

On white

6.00
#AF2395 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#AF2395 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2395
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2395#FFFFFF#000000##FFFFFF
##AF23951.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285698
Deuteranopia (green-blind)
#5A6B92
Tritanopia (blue-blind)
#B92D5B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #af2395;
/* rgb */ color: rgb(175, 35, 149);
/* oklch */ color: oklch(52.7% 0.208 337.2);
Tailwind
colors: {
  custom: {
    50: '#cb6fb4',
    500: '#af2395',
    950: '#000000',
  },
}
SCSS
$custom: #af2395;
$custom-light: #cb6fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#af2395",
  "rgb": {
    "r": 175,
    "g": 35,
    "b": 149
  },
  "hsl": {
    "h": 311.143,
    "s": 66.667,
    "l": 41.176
  },
  "oklch": {
    "l": 0.52749,
    "c": 0.20764,
    "h": 337.2
  },
  "luminance": 0.12486
}

Semantic roles & 50–950 ramp

primary
#AF2395
secondary
#66C778
accent
#EA5E3E
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140811
muted
#837B80

Preview Lab

Preview with #AF2395

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

Preview Lab → · Contrast checker → · Palette generator →

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