#AF274A#AF274A

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

Color values

HEX#AF274A
RGBrgb(175, 39, 74)
HSLhsl(345, 64%, 42%)
HSVhsv(345, 78%, 69%)
CMYKcmyk(0%, 77.7%, 57.7%, 31.4%)
CIE-LABlab(39.69, 55.59, 13.74)
CIE-LCHlch(39.69, 57.26, 13.88°)
OKLaboklab(50.2% 0.1681 0.0343)
OKLCHoklch(50.2% 0.172 11.5)
XYZxyz(19.6427, 11.0623, 7.5782)
Luminance0.1106 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF274A #27AF8C
analogous
#AF278E #AF274A #AF4827
triadic
#AF274A #4AAF27 #274AAF
tetradic
#AF274A #8EAF27 #27AF8C #4827AF
square
#AF274A #8EAF27 #27AF8C #4827AF
split-complementary
#AF274A #27AF48 #278EAF
monochromatic
#4B1120 #7D1C35 #AF274A #D43F65 #DF718D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF274A#FFFFFF#000000##FFFFFF
##AF274A1.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)
#4C4C4A
Deuteranopia (green-blind)
#6F6747
Tritanopia (blue-blind)
#C00036
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #af274a;
/* rgb */ color: rgb(175, 39, 74);
/* oklch */ color: oklch(50.2% 0.172 11.5);
Tailwind
colors: {
  custom: {
    50: '#ce6e7c',
    500: '#af274a',
    950: '#000000',
  },
}
SCSS
$custom: #af274a;
$custom-light: #ce6e7c;
$custom-dark: #000000;
JSON
{
  "hex": "#af274a",
  "rgb": {
    "r": 175,
    "g": 39,
    "b": 74
  },
  "hsl": {
    "h": 344.559,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.50198,
    "c": 0.1716,
    "h": 11.5
  },
  "luminance": 0.11059
}

Semantic roles & 50–950 ramp

primary
#AF274A
secondary
#6BC6AF
accent
#E7BC41
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#150809
muted
#837B7B

Preview Lab

Preview with #AF274A

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

Preview Lab → · Contrast checker → · Palette generator →

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