#AF3958#AF3958

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

Color values

HEX#AF3958
RGBrgb(175, 57, 88)
HSLhsl(344, 51%, 45%)
HSVhsv(344, 67%, 69%)
CMYKcmyk(0%, 67.4%, 49.7%, 31.4%)
CIE-LABlab(42.38, 50.18, 8.68)
CIE-LCHlch(42.38, 50.92, 9.81°)
OKLaboklab(52.3% 0.1526 0.0225)
OKLCHoklch(52.3% 0.154 8.4)
XYZxyz(20.9055, 12.7475, 10.5903)
Luminance0.1275 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3958 #39AF90
analogous
#AF3993 #AF3958 #AF5539
triadic
#AF3958 #58AF39 #3958AF
tetradic
#AF3958 #93AF39 #39AF90 #5539AF
square
#AF3958 #93AF39 #39AF90 #5539AF
split-complementary
#AF3958 #39AF55 #3993AF
monochromatic
#531B2A #812A41 #AF3958 #CA5B78 #D98A9E

Accessibility & contrast

On white

5.92
#AF3958 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#AF3958 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3958
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3958#FFFFFF#000000##FFFFFF
##AF39581.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#545559
Deuteranopia (green-blind)
#736D55
Tritanopia (blue-blind)
#BE2545
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #af3958;
/* rgb */ color: rgb(175, 57, 88);
/* oklch */ color: oklch(52.3% 0.154 8.4);
Tailwind
colors: {
  custom: {
    50: '#cc7786',
    500: '#af3958',
    950: '#000000',
  },
}
SCSS
$custom: #af3958;
$custom-light: #cc7786;
$custom-dark: #000000;
JSON
{
  "hex": "#af3958",
  "rgb": {
    "r": 175,
    "g": 57,
    "b": 88
  },
  "hsl": {
    "h": 344.237,
    "s": 50.862,
    "l": 45.49
  },
  "oklch": {
    "l": 0.52304,
    "c": 0.15423,
    "h": 8.4
  },
  "luminance": 0.12745
}

Semantic roles & 50–950 ramp

primary
#AF3958
secondary
#81C3B2
accent
#DAB54D
background
#FDF7F8
surface
#FAEEEF
border
#D3C9CA
text
#14090B
muted
#837B7C

Preview Lab

Preview with #AF3958

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

Preview Lab → · Contrast checker → · Palette generator →

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