#AF275B#AF275B

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

Color values

HEX#AF275B
RGBrgb(175, 39, 91)
HSLhsl(337, 64%, 42%)
HSVhsv(337, 78%, 69%)
CMYKcmyk(0%, 77.7%, 48%, 31.4%)
CIE-LABlab(40.12, 56.96, 3.57)
CIE-LCHlch(40.12, 57.07, 3.59°)
OKLaboklab(50.66% 0.1746 0.0098)
OKLCHoklch(50.66% 0.175 3.2)
XYZxyz(20.2948, 11.3231, 11.0124)
Luminance0.1132 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF275B #27AF7B
analogous
#AF279F #AF275B #AF3727
triadic
#AF275B #5BAF27 #275BAF
tetradic
#AF275B #9FAF27 #27AF7B #3727AF
square
#AF275B #9FAF27 #27AF7B #3727AF
split-complementary
#AF275B #27AF37 #279FAF
monochromatic
#4B1127 #7D1C41 #AF275B #D43F78 #DF719B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF275B#FFFFFF#000000##FFFFFF
##AF275B1.006.433.266.43
#FFFFFF6.431.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484E5C
Deuteranopia (green-blind)
#6C6858
Tritanopia (blue-blind)
#BF023E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af275b;
/* rgb */ color: rgb(175, 39, 91);
/* oklch */ color: oklch(50.7% 0.175 3.2);
Tailwind
colors: {
  custom: {
    50: '#cd6f89',
    500: '#af275b',
    950: '#000000',
  },
}
SCSS
$custom: #af275b;
$custom-light: #cd6f89;
$custom-dark: #000000;
JSON
{
  "hex": "#af275b",
  "rgb": {
    "r": 175,
    "g": 39,
    "b": 91
  },
  "hsl": {
    "h": 337.059,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.50659,
    "c": 0.17483,
    "h": 3.2
  },
  "luminance": 0.1132
}

Semantic roles & 50–950 ramp

primary
#AF275B
secondary
#6BC6A4
accent
#E7A741
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#15080B
muted
#837B7C

Preview Lab

Preview with #AF275B

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

Preview Lab → · Contrast checker → · Palette generator →

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