#AF264E#AF264E

#AF264E is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.2% C 0.173 H 9.4°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#AF264E
RGBrgb(175, 38, 78)
HSLhsl(342, 64%, 42%)
HSVhsv(342, 78%, 69%)
CMYKcmyk(0%, 78.3%, 55.4%, 31.4%)
CIE-LABlab(39.67, 56.19, 11.18)
CIE-LCHlch(39.67, 57.29, 11.25°)
OKLaboklab(50.22% 0.1707 0.0283)
OKLCHoklch(50.22% 0.173 9.4)
XYZxyz(19.7494, 11.0531, 8.2998)
Luminance0.1105 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF264E #26AF87
analogous
#AF2693 #AF264E #AF4326
triadic
#AF264E #4EAF26 #264EAF
tetradic
#AF264E #93AF26 #26AF87 #4326AF
square
#AF264E #93AF26 #26AF87 #4326AF
split-complementary
#AF264E #26AF43 #2693AF
monochromatic
#4A1021 #7D1B38 #AF264E #D53D6A #E07090

Accessibility & contrast

On white

6.54
#AF264E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#AF264E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF264E
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF264E#FFFFFF#000000##FFFFFF
##AF264E1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4C4F
Deuteranopia (green-blind)
#6E674B
Tritanopia (blue-blind)
#BF0037
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #af264e;
/* rgb */ color: rgb(175, 38, 78);
/* oklch */ color: oklch(50.2% 0.173 9.4);
Tailwind
colors: {
  custom: {
    50: '#cd6e7f',
    500: '#af264e',
    950: '#000000',
  },
}
SCSS
$custom: #af264e;
$custom-light: #cd6e7f;
$custom-dark: #000000;
JSON
{
  "hex": "#af264e",
  "rgb": {
    "r": 175,
    "g": 38,
    "b": 78
  },
  "hsl": {
    "h": 342.482,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.50217,
    "c": 0.17302,
    "h": 9.4
  },
  "luminance": 0.1105
}

Semantic roles & 50–950 ramp

primary
#AF264E
secondary
#6AC7AC
accent
#E7B740
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#15080A
muted
#837B7C

Preview Lab

Preview with #AF264E

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

Preview Lab → · Contrast checker → · Palette generator →

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