#AF265A#AF265A

#AF265A is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.5% C 0.176 H 3.5°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#AF265A
RGBrgb(175, 38, 90)
HSLhsl(337, 64%, 42%)
HSVhsv(337, 78%, 69%)
CMYKcmyk(0%, 78.3%, 48.6%, 31.4%)
CIE-LABlab(39.98, 57.17, 4.01)
CIE-LCHlch(39.98, 57.31, 4.01°)
OKLaboklab(50.55% 0.1752 0.0109)
OKLCHoklch(50.55% 0.176 3.5)
XYZxyz(20.2195, 11.2411, 10.7759)
Luminance0.1124 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF265A #26AF7B
analogous
#AF269F #AF265A #AF3626
triadic
#AF265A #5AAF26 #265AAF
tetradic
#AF265A #9FAF26 #26AF7B #3626AF
square
#AF265A #9FAF26 #26AF7B #3626AF
split-complementary
#AF265A #26AF36 #269FAF
monochromatic
#4A1026 #7D1B40 #AF265A #D53D77 #E0709A

Accessibility & contrast

On white

6.47
#AF265A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#AF265A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF265A
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF265A#FFFFFF#000000##FFFFFF
##AF265A1.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484D5B
Deuteranopia (green-blind)
#6C6857
Tritanopia (blue-blind)
#BF003D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #af265a;
/* rgb */ color: rgb(175, 38, 90);
/* oklch */ color: oklch(50.5% 0.176 3.5);
Tailwind
colors: {
  custom: {
    50: '#cd6e88',
    500: '#af265a',
    950: '#000000',
  },
}
SCSS
$custom: #af265a;
$custom-light: #cd6e88;
$custom-dark: #000000;
JSON
{
  "hex": "#af265a",
  "rgb": {
    "r": 175,
    "g": 38,
    "b": 90
  },
  "hsl": {
    "h": 337.226,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.5055,
    "c": 0.17552,
    "h": 3.5
  },
  "luminance": 0.11238
}

Semantic roles & 50–950 ramp

primary
#AF265A
secondary
#6AC7A4
accent
#E7A840
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15080B
muted
#837B7C

Preview Lab

Preview with #AF265A

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

Preview Lab → · Contrast checker → · Palette generator →

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