#AF2045#AF2045

#AF2045 is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.6% C 0.177 H 12.7°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#AF2045
RGBrgb(175, 32, 69)
HSLhsl(344, 69%, 41%)
HSVhsv(344, 82%, 69%)
CMYKcmyk(0%, 81.7%, 60.6%, 31.4%)
CIE-LABlab(38.86, 57.26, 15.80)
CIE-LCHlch(38.86, 59.40, 15.43°)
OKLaboklab(49.56% 0.1727 0.0389)
OKLCHoklch(49.56% 0.177 12.7)
XYZxyz(19.2719, 10.5796, 6.6564)
Luminance0.1058 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2045 #20AF8A
analogous
#AF208C #AF2045 #AF4320
triadic
#AF2045 #45AF20 #2045AF
tetradic
#AF2045 #8CAF20 #20AF8A #4320AF
square
#AF2045 #8CAF20 #20AF8A #4320AF
split-complementary
#AF2045 #20AF43 #208CAF
monochromatic
#480D1C #7B1731 #AF2045 #DA335E #E36687

Accessibility & contrast

On white

6.74
#AF2045 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#AF2045 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2045
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2045#FFFFFF#000000##FFFFFF
##AF20451.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4945
Deuteranopia (green-blind)
#6E6641
Tritanopia (blue-blind)
#C00030
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #af2045;
/* rgb */ color: rgb(175, 32, 69);
/* oklch */ color: oklch(49.6% 0.177 12.7);
Tailwind
colors: {
  custom: {
    50: '#ce6c78',
    500: '#af2045',
    950: '#000000',
  },
}
SCSS
$custom: #af2045;
$custom-light: #ce6c78;
$custom-dark: #000000;
JSON
{
  "hex": "#af2045",
  "rgb": {
    "r": 175,
    "g": 32,
    "b": 69
  },
  "hsl": {
    "h": 344.476,
    "s": 69.082,
    "l": 40.588
  },
  "oklch": {
    "l": 0.49555,
    "c": 0.17698,
    "h": 12.7
  },
  "luminance": 0.10577
}

Semantic roles & 50–950 ramp

primary
#AF2045
secondary
#62C8AE
accent
#ECBE3C
background
#FDF6F7
surface
#FBECED
border
#D4C7C8
text
#150808
muted
#837A7B

Preview Lab

Preview with #AF2045

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

Preview Lab → · Contrast checker → · Palette generator →

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