#AF275D#AF275D

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

Color values

HEX#AF275D
RGBrgb(175, 39, 93)
HSLhsl(336, 64%, 42%)
HSVhsv(336, 78%, 69%)
CMYKcmyk(0%, 77.7%, 46.9%, 31.4%)
CIE-LABlab(40.18, 57.13, 2.39)
CIE-LCHlch(40.18, 57.18, 2.40°)
OKLaboklab(50.72% 0.1753 0.0068)
OKLCHoklch(50.72% 0.175 2.2)
XYZxyz(20.3822, 11.3581, 11.4728)
Luminance0.1135 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF275D #27AF79
analogous
#AF27A1 #AF275D #AF3527
triadic
#AF275D #5DAF27 #275DAF
tetradic
#AF275D #A1AF27 #27AF79 #3527AF
square
#AF275D #A1AF27 #27AF79 #3527AF
split-complementary
#AF275D #27AF35 #27A1AF
monochromatic
#4B1128 #7D1C42 #AF275D #D43F7A #DF719D

Accessibility & contrast

On white

6.42
#AF275D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF275D
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF275D#FFFFFF#000000##FFFFFF
##AF275D1.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484E5E
Deuteranopia (green-blind)
#6C685A
Tritanopia (blue-blind)
#BE053F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af275d;
/* rgb */ color: rgb(175, 39, 93);
/* oklch */ color: oklch(50.7% 0.175 2.2);
Tailwind
colors: {
  custom: {
    50: '#cd6f8a',
    500: '#af275d',
    950: '#000000',
  },
}
SCSS
$custom: #af275d;
$custom-light: #cd6f8a;
$custom-dark: #000000;
JSON
{
  "hex": "#af275d",
  "rgb": {
    "r": 175,
    "g": 39,
    "b": 93
  },
  "hsl": {
    "h": 336.176,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.5072,
    "c": 0.1754,
    "h": 2.2
  },
  "luminance": 0.11355
}

Semantic roles & 50–950 ramp

primary
#AF275D
secondary
#6BC6A2
accent
#E7A541
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080B
muted
#837B7C

Preview Lab

Preview with #AF275D

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

Preview Lab → · Contrast checker → · Palette generator →

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