#AF275C#AF275C

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

Color values

HEX#AF275C
RGBrgb(175, 39, 92)
HSLhsl(337, 64%, 42%)
HSVhsv(337, 78%, 69%)
CMYKcmyk(0%, 77.7%, 47.4%, 31.4%)
CIE-LABlab(40.15, 57.04, 2.98)
CIE-LCHlch(40.15, 57.12, 2.99°)
OKLaboklab(50.69% 0.1749 0.0083)
OKLCHoklch(50.69% 0.175 2.7)
XYZxyz(20.3382, 11.3405, 11.2411)
Luminance0.1134 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF275C #27AF7A
analogous
#AF27A0 #AF275C #AF3627
triadic
#AF275C #5CAF27 #275CAF
tetradic
#AF275C #A0AF27 #27AF7A #3627AF
square
#AF275C #A0AF27 #27AF7A #3627AF
split-complementary
#AF275C #27AF36 #27A0AF
monochromatic
#4B1127 #7D1C42 #AF275C #D43F79 #DF719C

Accessibility & contrast

On white

6.43
#AF275C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#AF275C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF275C
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF275C#FFFFFF#000000##FFFFFF
##AF275C1.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484E5D
Deuteranopia (green-blind)
#6C6859
Tritanopia (blue-blind)
#BE043E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af275c;
/* rgb */ color: rgb(175, 39, 92);
/* oklch */ color: oklch(50.7% 0.175 2.7);
Tailwind
colors: {
  custom: {
    50: '#cd6f89',
    500: '#af275c',
    950: '#000000',
  },
}
SCSS
$custom: #af275c;
$custom-light: #cd6f89;
$custom-dark: #000000;
JSON
{
  "hex": "#af275c",
  "rgb": {
    "r": 175,
    "g": 39,
    "b": 92
  },
  "hsl": {
    "h": 336.618,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.5069,
    "c": 0.1751,
    "h": 2.7
  },
  "luminance": 0.11338
}

Semantic roles & 50–950 ramp

primary
#AF275C
secondary
#6BC6A3
accent
#E7A641
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#15080B
muted
#837B7C

Preview Lab

Preview with #AF275C

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

Preview Lab → · Contrast checker → · Palette generator →

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