#AF265C#AF265C

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

Color values

HEX#AF265C
RGBrgb(175, 38, 92)
HSLhsl(336, 64%, 42%)
HSVhsv(336, 78%, 69%)
CMYKcmyk(0%, 78.3%, 47.4%, 31.4%)
CIE-LABlab(40.04, 57.35, 2.83)
CIE-LCHlch(40.04, 57.42, 2.82°)
OKLaboklab(50.61% 0.1759 0.0079)
OKLCHoklch(50.61% 0.176 2.6)
XYZxyz(20.3058, 11.2757, 11.2303)
Luminance0.1127 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF265C #26AF79
analogous
#AF26A1 #AF265C #AF3426
triadic
#AF265C #5CAF26 #265CAF
tetradic
#AF265C #A1AF26 #26AF79 #3426AF
square
#AF265C #A1AF26 #26AF79 #3426AF
split-complementary
#AF265C #26AF34 #26A1AF
monochromatic
#4A1027 #7D1B42 #AF265C #D53D79 #E0709C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF265C#FFFFFF#000000##FFFFFF
##AF265C1.006.453.256.45
#FFFFFF6.451.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474D5D
Deuteranopia (green-blind)
#6C6859
Tritanopia (blue-blind)
#BE013E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #af265c;
/* rgb */ color: rgb(175, 38, 92);
/* oklch */ color: oklch(50.6% 0.176 2.6);
Tailwind
colors: {
  custom: {
    50: '#cd6e89',
    500: '#af265c',
    950: '#000000',
  },
}
SCSS
$custom: #af265c;
$custom-light: #cd6e89;
$custom-dark: #000000;
JSON
{
  "hex": "#af265c",
  "rgb": {
    "r": 175,
    "g": 38,
    "b": 92
  },
  "hsl": {
    "h": 336.35,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.50611,
    "c": 0.17607,
    "h": 2.6
  },
  "luminance": 0.11273
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF265C

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

Preview Lab → · Contrast checker → · Palette generator →

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