#AF2260#AF2260

#AF2260 is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.4% C 0.181 H 0.1°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#AF2260
RGBrgb(175, 34, 96)
HSLhsl(334, 67%, 41%)
HSVhsv(334, 81%, 69%)
CMYKcmyk(0%, 80.6%, 45.1%, 31.4%)
CIE-LABlab(39.76, 58.86, -0.12)
CIE-LCHlch(39.76, 58.86, 359.89°)
OKLaboklab(50.44% 0.181 0.0004)
OKLCHoklch(50.44% 0.181 0.1)
XYZxyz(20.3642, 11.1053, 12.1353)
Luminance0.1110 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2260 #22AF71
analogous
#AF22A6 #AF2260 #AF2A22
triadic
#AF2260 #60AF22 #2260AF
tetradic
#AF2260 #A6AF22 #22AF71 #2A22AF
square
#AF2260 #A6AF22 #22AF71 #2A22AF
split-complementary
#AF2260 #22AF2A #22A6AF
monochromatic
#490E28 #7C1844 #AF2260 #D8367D #E2699E

Accessibility & contrast

On white

6.52
#AF2260 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#AF2260 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2260
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2260#FFFFFF#000000##FFFFFF
##AF22601.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444D61
Deuteranopia (green-blind)
#6A675D
Tritanopia (blue-blind)
#BE003E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #af2260;
/* rgb */ color: rgb(175, 34, 96);
/* oklch */ color: oklch(50.4% 0.181 0.1);
Tailwind
colors: {
  custom: {
    50: '#cd6d8d',
    500: '#af2260',
    950: '#000000',
  },
}
SCSS
$custom: #af2260;
$custom-light: #cd6d8d;
$custom-dark: #000000;
JSON
{
  "hex": "#af2260",
  "rgb": {
    "r": 175,
    "g": 34,
    "b": 96
  },
  "hsl": {
    "h": 333.617,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.50442,
    "c": 0.18095,
    "h": 0.1
  },
  "luminance": 0.11103
}

Semantic roles & 50–950 ramp

primary
#AF2260
secondary
#65C89C
accent
#EA9E3D
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080C
muted
#837B7D

Preview Lab

Preview with #AF2260

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

Preview Lab → · Contrast checker → · Palette generator →

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