#AF265D#AF265D

#AF265D is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.6% C 0.176 H 2.1°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#AF265D
RGBrgb(175, 38, 93)
HSLhsl(336, 64%, 42%)
HSVhsv(336, 78%, 69%)
CMYKcmyk(0%, 78.3%, 46.9%, 31.4%)
CIE-LABlab(40.07, 57.44, 2.24)
CIE-LCHlch(40.07, 57.48, 2.23°)
OKLaboklab(50.64% 0.1762 0.0064)
OKLCHoklch(50.64% 0.176 2.1)
XYZxyz(20.3498, 11.2933, 11.4620)
Luminance0.1129 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF265D #26AF78
analogous
#AF26A2 #AF265D #AF3326
triadic
#AF265D #5DAF26 #265DAF
tetradic
#AF265D #A2AF26 #26AF78 #3326AF
square
#AF265D #A2AF26 #26AF78 #3326AF
split-complementary
#AF265D #26AF33 #26A2AF
monochromatic
#4A1028 #7D1B42 #AF265D #D53D7A #E0709D

Accessibility & contrast

On white

6.45
#AF265D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#AF265D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF265D
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF265D#FFFFFF#000000##FFFFFF
##AF265D1.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474D5E
Deuteranopia (green-blind)
#6C685A
Tritanopia (blue-blind)
#BE023E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #af265d;
/* rgb */ color: rgb(175, 38, 93);
/* oklch */ color: oklch(50.6% 0.176 2.1);
Tailwind
colors: {
  custom: {
    50: '#cd6e8a',
    500: '#af265d',
    950: '#000000',
  },
}
SCSS
$custom: #af265d;
$custom-light: #cd6e8a;
$custom-dark: #000000;
JSON
{
  "hex": "#af265d",
  "rgb": {
    "r": 175,
    "g": 38,
    "b": 93
  },
  "hsl": {
    "h": 335.912,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.50642,
    "c": 0.17636,
    "h": 2.1
  },
  "luminance": 0.1129
}

Semantic roles & 50–950 ramp

primary
#AF265D
secondary
#6AC7A2
accent
#E7A440
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#15080B
muted
#837B7C

Preview Lab

Preview with #AF265D

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

Preview Lab → · Contrast checker → · Palette generator →

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