#AF264B#AF264B

#AF264B is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.1% C 0.173 H 10.9°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#AF264B
RGBrgb(175, 38, 75)
HSLhsl(344, 64%, 42%)
HSVhsv(344, 78%, 69%)
CMYKcmyk(0%, 78.3%, 57.1%, 31.4%)
CIE-LABlab(39.60, 55.97, 12.99)
CIE-LCHlch(39.60, 57.46, 13.06°)
OKLaboklab(50.14% 0.1695 0.0326)
OKLCHoklch(50.14% 0.173 10.9)
XYZxyz(19.6442, 11.0110, 7.7462)
Luminance0.1101 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF264B #26AF8A
analogous
#AF2690 #AF264B #AF4626
triadic
#AF264B #4BAF26 #264BAF
tetradic
#AF264B #90AF26 #26AF8A #4626AF
square
#AF264B #90AF26 #26AF8A #4626AF
split-complementary
#AF264B #26AF46 #2690AF
monochromatic
#4A1020 #7D1B35 #AF264B #D53D66 #E0708E

Accessibility & contrast

On white

6.56
#AF264B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#AF264B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF264B
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF264B#FFFFFF#000000##FFFFFF
##AF264B1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4B4C
Deuteranopia (green-blind)
#6F6748
Tritanopia (blue-blind)
#C00036
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #af264b;
/* rgb */ color: rgb(175, 38, 75);
/* oklch */ color: oklch(50.1% 0.173 10.9);
Tailwind
colors: {
  custom: {
    50: '#ce6e7d',
    500: '#af264b',
    950: '#000000',
  },
}
SCSS
$custom: #af264b;
$custom-light: #ce6e7d;
$custom-dark: #000000;
JSON
{
  "hex": "#af264b",
  "rgb": {
    "r": 175,
    "g": 38,
    "b": 75
  },
  "hsl": {
    "h": 343.796,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.50141,
    "c": 0.17261,
    "h": 10.9
  },
  "luminance": 0.11008
}

Semantic roles & 50–950 ramp

primary
#AF264B
secondary
#6AC7AE
accent
#E7BA40
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#150809
muted
#837B7B

Preview Lab

Preview with #AF264B

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

Preview Lab → · Contrast checker → · Palette generator →

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