#AF295E#AF295E

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

Color values

HEX#AF295E
RGBrgb(175, 41, 94)
HSLhsl(336, 62%, 42%)
HSVhsv(336, 77%, 69%)
CMYKcmyk(0%, 76.6%, 46.3%, 31.4%)
CIE-LABlab(40.43, 56.60, 2.12)
CIE-LCHlch(40.43, 56.64, 2.15°)
OKLaboklab(50.91% 0.1736 0.0061)
OKLCHoklch(50.91% 0.174 2)
XYZxyz(20.4942, 11.5107, 11.7301)
Luminance0.1151 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF295E #29AF7A
analogous
#AF29A1 #AF295E #AF3729
triadic
#AF295E #5EAF29 #295EAF
tetradic
#AF295E #A1AF29 #29AF7A #3729AF
square
#AF295E #A1AF29 #29AF7A #3729AF
split-complementary
#AF295E #29AF37 #29A1AF
monochromatic
#4C1229 #7D1D43 #AF295E #D3427C #DE749E

Accessibility & contrast

On white

6.36
#AF295E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF295E
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF295E#FFFFFF#000000##FFFFFF
##AF295E1.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484F5F
Deuteranopia (green-blind)
#6C695B
Tritanopia (blue-blind)
#BE0C40
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af295e;
/* rgb */ color: rgb(175, 41, 94);
/* oklch */ color: oklch(50.9% 0.174 2.0);
Tailwind
colors: {
  custom: {
    50: '#cc708b',
    500: '#af295e',
    950: '#000000',
  },
}
SCSS
$custom: #af295e;
$custom-light: #cc708b;
$custom-dark: #000000;
JSON
{
  "hex": "#af295e",
  "rgb": {
    "r": 175,
    "g": 41,
    "b": 94
  },
  "hsl": {
    "h": 336.269,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.50914,
    "c": 0.17372,
    "h": 2
  },
  "luminance": 0.11508
}

Semantic roles & 50–950 ramp

primary
#AF295E
secondary
#6EC6A3
accent
#E5A543
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080C
muted
#837B7D

Preview Lab

Preview with #AF295E

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

Preview Lab → · Contrast checker → · Palette generator →

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