#AF2974#AF2974

#AF2974 is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.7% C 0.182 H 351.4°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#AF2974
RGBrgb(175, 41, 116)
HSLhsl(326, 62%, 42%)
HSVhsv(326, 77%, 69%)
CMYKcmyk(0%, 76.6%, 33.7%, 31.4%)
CIE-LABlab(41.16, 58.87, -10.58)
CIE-LCHlch(41.16, 59.82, 349.81°)
OKLaboklab(51.69% 0.1804 -0.0274)
OKLCHoklch(51.69% 0.182 351.4)
XYZxyz(21.6258, 11.9634, 17.6899)
Luminance0.1196 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2974 #29AF64
analogous
#A729AF #AF2974 #AF2931
triadic
#AF2974 #74AF29 #2974AF
tetradic
#AF2974 #AFA729 #29AF64 #2931AF
square
#AF2974 #AFA729 #29AF64 #2931AF
split-complementary
#AF2974 #31AF29 #29AFA7
monochromatic
#4C1232 #7D1D53 #AF2974 #D34293 #DE74B0

Accessibility & contrast

On white

6.19
#AF2974 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#AF2974 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2974
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2974#FFFFFF#000000##FFFFFF
##AF29741.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415276
Deuteranopia (green-blind)
#676A71
Tritanopia (blue-blind)
#BC1E4B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #af2974;
/* rgb */ color: rgb(175, 41, 116);
/* oklch */ color: oklch(51.7% 0.182 351.4);
Tailwind
colors: {
  custom: {
    50: '#cc709c',
    500: '#af2974',
    950: '#000000',
  },
}
SCSS
$custom: #af2974;
$custom-light: #cc709c;
$custom-dark: #000000;
JSON
{
  "hex": "#af2974",
  "rgb": {
    "r": 175,
    "g": 41,
    "b": 116
  },
  "hsl": {
    "h": 326.418,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.51688,
    "c": 0.18244,
    "h": 351.4
  },
  "luminance": 0.11961
}

Semantic roles & 50–950 ramp

primary
#AF2974
secondary
#6EC695
accent
#E58A43
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14080E
muted
#837B7E

Preview Lab

Preview with #AF2974

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

Preview Lab → · Contrast checker → · Palette generator →

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