#AF295A#AF295A

#AF295A is a mid, vivid pink. Relative luminance 0.114; OKLCH L 50.8% C 0.173 H 4.0°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#AF295A
RGBrgb(175, 41, 90)
HSLhsl(338, 62%, 42%)
HSVhsv(338, 77%, 69%)
CMYKcmyk(0%, 76.6%, 48.6%, 31.4%)
CIE-LABlab(40.31, 56.24, 4.49)
CIE-LCHlch(40.31, 56.42, 4.56°)
OKLaboklab(50.79% 0.1722 0.012)
OKLCHoklch(50.79% 0.173 4)
XYZxyz(20.3193, 11.4408, 10.8092)
Luminance0.1144 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF295A #29AF7E
analogous
#AF299D #AF295A #AF3B29
triadic
#AF295A #5AAF29 #295AAF
tetradic
#AF295A #9DAF29 #29AF7E #3B29AF
square
#AF295A #9DAF29 #29AF7E #3B29AF
split-complementary
#AF295A #29AF3B #299DAF
monochromatic
#4C1227 #7D1D40 #AF295A #D34277 #DE749B

Accessibility & contrast

On white

6.39
#AF295A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#AF295A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF295A
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF295A#FFFFFF#000000##FFFFFF
##AF295A1.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4E5B
Deuteranopia (green-blind)
#6D6857
Tritanopia (blue-blind)
#BF073E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af295a;
/* rgb */ color: rgb(175, 41, 90);
/* oklch */ color: oklch(50.8% 0.173 4.0);
Tailwind
colors: {
  custom: {
    50: '#cd7088',
    500: '#af295a',
    950: '#000000',
  },
}
SCSS
$custom: #af295a;
$custom-light: #cd7088;
$custom-dark: #000000;
JSON
{
  "hex": "#af295a",
  "rgb": {
    "r": 175,
    "g": 41,
    "b": 90
  },
  "hsl": {
    "h": 338.06,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.50792,
    "c": 0.1726,
    "h": 4
  },
  "luminance": 0.11438
}

Semantic roles & 50–950 ramp

primary
#AF295A
secondary
#6EC6A6
accent
#E5AA43
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15080B
muted
#837B7C

Preview Lab

Preview with #AF295A

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

Preview Lab → · Contrast checker → · Palette generator →

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