#AF275A#AF275A

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

Color values

HEX#AF275A
RGBrgb(175, 39, 90)
HSLhsl(338, 64%, 42%)
HSVhsv(338, 78%, 69%)
CMYKcmyk(0%, 77.7%, 48.6%, 31.4%)
CIE-LABlab(40.09, 56.87, 4.17)
CIE-LCHlch(40.09, 57.02, 4.19°)
OKLaboklab(50.63% 0.1742 0.0112)
OKLCHoklch(50.63% 0.175 3.7)
XYZxyz(20.2519, 11.3060, 10.7867)
Luminance0.1130 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF275A #27AF7C
analogous
#AF279E #AF275A #AF3827
triadic
#AF275A #5AAF27 #275AAF
tetradic
#AF275A #9EAF27 #27AF7C #3827AF
square
#AF275A #9EAF27 #27AF7C #3827AF
split-complementary
#AF275A #27AF38 #279EAF
monochromatic
#4B1127 #7D1C40 #AF275A #D43F77 #DF719A

Accessibility & contrast

On white

6.44
#AF275A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#AF275A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF275A
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF275A#FFFFFF#000000##FFFFFF
##AF275A1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484D5B
Deuteranopia (green-blind)
#6D6857
Tritanopia (blue-blind)
#BF013D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #af275a;
/* rgb */ color: rgb(175, 39, 90);
/* oklch */ color: oklch(50.6% 0.175 3.7);
Tailwind
colors: {
  custom: {
    50: '#cd6f88',
    500: '#af275a',
    950: '#000000',
  },
}
SCSS
$custom: #af275a;
$custom-light: #cd6f88;
$custom-dark: #000000;
JSON
{
  "hex": "#af275a",
  "rgb": {
    "r": 175,
    "g": 39,
    "b": 90
  },
  "hsl": {
    "h": 337.5,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.50629,
    "c": 0.17456,
    "h": 3.7
  },
  "luminance": 0.11303
}

Semantic roles & 50–950 ramp

primary
#AF275A
secondary
#6BC6A4
accent
#E7A941
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15080B
muted
#837B7C

Preview Lab

Preview with #AF275A

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

Preview Lab → · Contrast checker → · Palette generator →

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