#AF3874#AF3874

#AF3874 is a mid, vivid pink. Relative luminance 0.132; OKLCH L 53.1% C 0.165 H 353.1°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#AF3874
RGBrgb(175, 56, 116)
HSLhsl(330, 52%, 45%)
HSVhsv(330, 68%, 69%)
CMYKcmyk(0%, 68%, 33.7%, 31.4%)
CIE-LABlab(43.07, 53.52, -7.71)
CIE-LCHlch(43.07, 54.07, 351.80°)
OKLaboklab(53.09% 0.1635 -0.0197)
OKLCHoklch(53.09% 0.165 353.1)
XYZxyz(22.2470, 13.2058, 17.8970)
Luminance0.1320 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3874 #38AF73
analogous
#AE38AF #AF3874 #AF3838
triadic
#AF3874 #74AF38 #3874AF
tetradic
#AF3874 #AFAE38 #38AF73 #3838AF
square
#AF3874 #AFAE38 #38AF73 #3838AF
split-complementary
#AF3874 #38AF38 #38AFAE
monochromatic
#521A37 #812955 #AF3874 #CA5A93 #D988B1

Accessibility & contrast

On white

5.77
#AF3874 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#AF3874 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3874
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3874#FFFFFF#000000##FFFFFF
##AF38741.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5876
Deuteranopia (green-blind)
#6D6E71
Tritanopia (blue-blind)
#BC2F51
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #af3874;
/* rgb */ color: rgb(175, 56, 116);
/* oklch */ color: oklch(53.1% 0.165 353.1);
Tailwind
colors: {
  custom: {
    50: '#cb779c',
    500: '#af3874',
    950: '#000000',
  },
}
SCSS
$custom: #af3874;
$custom-light: #cb779c;
$custom-dark: #000000;
JSON
{
  "hex": "#af3874",
  "rgb": {
    "r": 175,
    "g": 56,
    "b": 116
  },
  "hsl": {
    "h": 329.748,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.53091,
    "c": 0.16472,
    "h": 353.1
  },
  "luminance": 0.13203
}

Semantic roles & 50–950 ramp

primary
#AF3874
secondary
#80C3A1
accent
#DB934D
background
#FDF7F9
surface
#FAEEF2
border
#D3C9CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #AF3874

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

Preview Lab → · Contrast checker → · Palette generator →

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