#AF375F#AF375F

#AF375F is a mid, vivid pink. Relative luminance 0.127; OKLCH L 52.3% C 0.158 H 4.1°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#AF375F
RGBrgb(175, 55, 95)
HSLhsl(340, 52%, 45%)
HSVhsv(340, 69%, 69%)
CMYKcmyk(0%, 68.6%, 45.7%, 31.4%)
CIE-LABlab(42.27, 51.65, 4.15)
CIE-LCHlch(42.27, 51.81, 4.60°)
OKLaboklab(52.28% 0.1578 0.0112)
OKLCHoklch(52.28% 0.158 4.1)
XYZxyz(21.1126, 12.6752, 12.1590)
Luminance0.1267 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF375F #37AF87
analogous
#AF379B #AF375F #AF4B37
triadic
#AF375F #5FAF37 #375FAF
tetradic
#AF375F #9BAF37 #37AF87 #4B37AF
square
#AF375F #9BAF37 #37AF87 #4B37AF
split-complementary
#AF375F #37AF4B #379BAF
monochromatic
#521A2C #802846 #AF375F #CB597F #D987A2

Accessibility & contrast

On white

5.94
#AF375F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#AF375F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF375F
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF375F#FFFFFF#000000##FFFFFF
##AF375F1.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#515560
Deuteranopia (green-blind)
#716C5C
Tritanopia (blue-blind)
#BE2547
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #af375f;
/* rgb */ color: rgb(175, 55, 95);
/* oklch */ color: oklch(52.3% 0.158 4.1);
Tailwind
colors: {
  custom: {
    50: '#cc768c',
    500: '#af375f',
    950: '#000000',
  },
}
SCSS
$custom: #af375f;
$custom-light: #cc768c;
$custom-dark: #000000;
JSON
{
  "hex": "#af375f",
  "rgb": {
    "r": 175,
    "g": 55,
    "b": 95
  },
  "hsl": {
    "h": 340,
    "s": 52.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.52283,
    "c": 0.15822,
    "h": 4.1
  },
  "luminance": 0.12673
}

Semantic roles & 50–950 ramp

primary
#AF375F
secondary
#7FC3AC
accent
#DCAC4C
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14090C
muted
#837B7D

Preview Lab

Preview with #AF375F

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

Preview Lab → · Contrast checker → · Palette generator →

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