#AF265E#AF265E

#AF265E is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.7% C 0.177 H 1.6°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#AF265E
RGBrgb(175, 38, 94)
HSLhsl(335, 64%, 42%)
HSVhsv(335, 78%, 69%)
CMYKcmyk(0%, 78.3%, 46.3%, 31.4%)
CIE-LABlab(40.10, 57.53, 1.65)
CIE-LCHlch(40.10, 57.55, 1.64°)
OKLaboklab(50.67% 0.1766 0.0049)
OKLCHoklch(50.67% 0.177 1.6)
XYZxyz(20.3944, 11.3111, 11.6968)
Luminance0.1131 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF265E #26AF77
analogous
#AF26A3 #AF265E #AF3226
triadic
#AF265E #5EAF26 #265EAF
tetradic
#AF265E #A3AF26 #26AF77 #3226AF
square
#AF265E #A3AF26 #26AF77 #3226AF
split-complementary
#AF265E #26AF32 #26A3AF
monochromatic
#4A1028 #7D1B43 #AF265E #D53D7B #E0709D

Accessibility & contrast

On white

6.44
#AF265E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF265E
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF265E#FFFFFF#000000##FFFFFF
##AF265E1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474E5F
Deuteranopia (green-blind)
#6C685B
Tritanopia (blue-blind)
#BE033F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #af265e;
/* rgb */ color: rgb(175, 38, 94);
/* oklch */ color: oklch(50.7% 0.177 1.6);
Tailwind
colors: {
  custom: {
    50: '#cd6e8b',
    500: '#af265e',
    950: '#000000',
  },
}
SCSS
$custom: #af265e;
$custom-light: #cd6e8b;
$custom-dark: #000000;
JSON
{
  "hex": "#af265e",
  "rgb": {
    "r": 175,
    "g": 38,
    "b": 94
  },
  "hsl": {
    "h": 335.474,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.50673,
    "c": 0.17666,
    "h": 1.6
  },
  "luminance": 0.11308
}

Semantic roles & 50–950 ramp

primary
#AF265E
secondary
#6AC7A1
accent
#E7A340
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080C
muted
#837B7D

Preview Lab

Preview with #AF265E

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

Preview Lab → · Contrast checker → · Palette generator →

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