#AF295D#AF295D

#AF295D is a mid, vivid pink. Relative luminance 0.115; OKLCH L 50.9% C 0.173 H 2.5°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#AF295D
RGBrgb(175, 41, 93)
HSLhsl(337, 62%, 42%)
HSVhsv(337, 77%, 69%)
CMYKcmyk(0%, 76.6%, 46.9%, 31.4%)
CIE-LABlab(40.40, 56.51, 2.71)
CIE-LCHlch(40.40, 56.58, 2.75°)
OKLaboklab(50.88% 0.1733 0.0076)
OKLCHoklch(50.88% 0.173 2.5)
XYZxyz(20.4496, 11.4929, 11.4953)
Luminance0.1149 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF295D #29AF7B
analogous
#AF29A0 #AF295D #AF3829
triadic
#AF295D #5DAF29 #295DAF
tetradic
#AF295D #A0AF29 #29AF7B #3829AF
square
#AF295D #A0AF29 #29AF7B #3829AF
split-complementary
#AF295D #29AF38 #29A0AF
monochromatic
#4C1228 #7D1D43 #AF295D #D3427A #DE749D

Accessibility & contrast

On white

6.37
#AF295D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#AF295D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF295D
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF295D#FFFFFF#000000##FFFFFF
##AF295D1.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494F5E
Deuteranopia (green-blind)
#6D695A
Tritanopia (blue-blind)
#BE0A40
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af295d;
/* rgb */ color: rgb(175, 41, 93);
/* oklch */ color: oklch(50.9% 0.173 2.5);
Tailwind
colors: {
  custom: {
    50: '#cc708a',
    500: '#af295d',
    950: '#000000',
  },
}
SCSS
$custom: #af295d;
$custom-light: #cc708a;
$custom-dark: #000000;
JSON
{
  "hex": "#af295d",
  "rgb": {
    "r": 175,
    "g": 41,
    "b": 93
  },
  "hsl": {
    "h": 336.716,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.50883,
    "c": 0.17343,
    "h": 2.5
  },
  "luminance": 0.1149
}

Semantic roles & 50–950 ramp

primary
#AF295D
secondary
#6EC6A4
accent
#E5A643
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080B
muted
#837B7C

Preview Lab

Preview with #AF295D

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

Preview Lab → · Contrast checker → · Palette generator →

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