#AF274E#AF274E

#AF274E is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.3% C 0.172 H 9.6°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#AF274E
RGBrgb(175, 39, 78)
HSLhsl(343, 64%, 42%)
HSVhsv(343, 78%, 69%)
CMYKcmyk(0%, 77.7%, 55.4%, 31.4%)
CIE-LABlab(39.78, 55.89, 11.33)
CIE-LCHlch(39.78, 57.02, 11.46°)
OKLaboklab(50.3% 0.1697 0.0287)
OKLCHoklch(50.3% 0.172 9.6)
XYZxyz(19.7818, 11.1179, 8.3106)
Luminance0.1111 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF274E #27AF88
analogous
#AF2792 #AF274E #AF4427
triadic
#AF274E #4EAF27 #274EAF
tetradic
#AF274E #92AF27 #27AF88 #4427AF
square
#AF274E #92AF27 #27AF88 #4427AF
split-complementary
#AF274E #27AF44 #2792AF
monochromatic
#4B1121 #7D1C38 #AF274E #D43F6A #DF7191

Accessibility & contrast

On white

6.52
#AF274E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#AF274E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF274E
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF274E#FFFFFF#000000##FFFFFF
##AF274E1.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4C4F
Deuteranopia (green-blind)
#6F684B
Tritanopia (blue-blind)
#BF0038
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #af274e;
/* rgb */ color: rgb(175, 39, 78);
/* oklch */ color: oklch(50.3% 0.172 9.6);
Tailwind
colors: {
  custom: {
    50: '#cd6e7f',
    500: '#af274e',
    950: '#000000',
  },
}
SCSS
$custom: #af274e;
$custom-light: #cd6e7f;
$custom-dark: #000000;
JSON
{
  "hex": "#af274e",
  "rgb": {
    "r": 175,
    "g": 39,
    "b": 78
  },
  "hsl": {
    "h": 342.794,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.50297,
    "c": 0.1721,
    "h": 9.6
  },
  "luminance": 0.11115
}

Semantic roles & 50–950 ramp

primary
#AF274E
secondary
#6BC6AC
accent
#E7B741
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#15080A
muted
#837B7C

Preview Lab

Preview with #AF274E

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

Preview Lab → · Contrast checker → · Palette generator →

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