#AF275F#AF275F

#AF275F is a mid, vivid pink. Relative luminance 0.114; OKLCH L 50.8% C 0.176 H 1.2°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#AF275F
RGBrgb(175, 39, 95)
HSLhsl(335, 64%, 42%)
HSVhsv(335, 78%, 69%)
CMYKcmyk(0%, 77.7%, 45.7%, 31.4%)
CIE-LABlab(40.24, 57.32, 1.22)
CIE-LCHlch(40.24, 57.33, 1.21°)
OKLaboklab(50.78% 0.176 0.0038)
OKLCHoklch(50.78% 0.176 1.2)
XYZxyz(20.4719, 11.3940, 11.9455)
Luminance0.1139 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF275F #27AF77
analogous
#AF27A3 #AF275F #AF3327
triadic
#AF275F #5FAF27 #275FAF
tetradic
#AF275F #A3AF27 #27AF77 #3327AF
square
#AF275F #A3AF27 #27AF77 #3327AF
split-complementary
#AF275F #27AF33 #27A3AF
monochromatic
#4B1129 #7D1C44 #AF275F #D43F7C #DF719E

Accessibility & contrast

On white

6.41
#AF275F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#AF275F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF275F
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF275F#FFFFFF#000000##FFFFFF
##AF275F1.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474E60
Deuteranopia (green-blind)
#6C685C
Tritanopia (blue-blind)
#BE0740
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af275f;
/* rgb */ color: rgb(175, 39, 95);
/* oklch */ color: oklch(50.8% 0.176 1.2);
Tailwind
colors: {
  custom: {
    50: '#cc6f8c',
    500: '#af275f',
    950: '#000000',
  },
}
SCSS
$custom: #af275f;
$custom-light: #cc6f8c;
$custom-dark: #000000;
JSON
{
  "hex": "#af275f",
  "rgb": {
    "r": 175,
    "g": 39,
    "b": 95
  },
  "hsl": {
    "h": 335.294,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.50783,
    "c": 0.176,
    "h": 1.2
  },
  "luminance": 0.11391
}

Semantic roles & 50–950 ramp

primary
#AF275F
secondary
#6BC6A1
accent
#E7A241
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080C
muted
#837B7D

Preview Lab

Preview with #AF275F

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

Preview Lab → · Contrast checker → · Palette generator →

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