#AF275E#AF275E

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

Color values

HEX#AF275E
RGBrgb(175, 39, 94)
HSLhsl(336, 64%, 42%)
HSVhsv(336, 78%, 69%)
CMYKcmyk(0%, 77.7%, 46.3%, 31.4%)
CIE-LABlab(40.21, 57.23, 1.80)
CIE-LCHlch(40.21, 57.25, 1.81°)
OKLaboklab(50.75% 0.1756 0.0053)
OKLCHoklch(50.75% 0.176 1.7)
XYZxyz(20.4268, 11.3759, 11.7076)
Luminance0.1137 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF275E #27AF78
analogous
#AF27A2 #AF275E #AF3427
triadic
#AF275E #5EAF27 #275EAF
tetradic
#AF275E #A2AF27 #27AF78 #3427AF
square
#AF275E #A2AF27 #27AF78 #3427AF
split-complementary
#AF275E #27AF34 #27A2AF
monochromatic
#4B1128 #7D1C43 #AF275E #D43F7B #DF719E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF275E#FFFFFF#000000##FFFFFF
##AF275E1.006.413.276.41
#FFFFFF6.411.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474E5F
Deuteranopia (green-blind)
#6C685B
Tritanopia (blue-blind)
#BE063F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af275e;
/* rgb */ color: rgb(175, 39, 94);
/* oklch */ color: oklch(50.8% 0.176 1.7);
Tailwind
colors: {
  custom: {
    50: '#cd6f8b',
    500: '#af275e',
    950: '#000000',
  },
}
SCSS
$custom: #af275e;
$custom-light: #cd6f8b;
$custom-dark: #000000;
JSON
{
  "hex": "#af275e",
  "rgb": {
    "r": 175,
    "g": 39,
    "b": 94
  },
  "hsl": {
    "h": 335.735,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.50752,
    "c": 0.1757,
    "h": 1.7
  },
  "luminance": 0.11373
}

Semantic roles & 50–950 ramp

primary
#AF275E
secondary
#6BC6A2
accent
#E7A441
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080C
muted
#837B7D

Preview Lab

Preview with #AF275E

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

Preview Lab → · Contrast checker → · Palette generator →

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