#AF3258#AF3258

#AF3258 is a mid, vivid pink. Relative luminance 0.121; OKLCH L 51.6% C 0.163 H 6.7°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#AF3258
RGBrgb(175, 50, 88)
HSLhsl(342, 56%, 44%)
HSVhsv(342, 71%, 69%)
CMYKcmyk(0%, 71.4%, 49.7%, 31.4%)
CIE-LABlab(41.38, 52.94, 7.26)
CIE-LCHlch(41.38, 53.43, 7.81°)
OKLaboklab(51.56% 0.1614 0.019)
OKLCHoklch(51.56% 0.163 6.7)
XYZxyz(20.5830, 12.1025, 10.4828)
Luminance0.1210 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3258 #32AF89
analogous
#AF3297 #AF3258 #AF4B32
triadic
#AF3258 #58AF32 #3258AF
tetradic
#AF3258 #97AF32 #32AF89 #4B32AF
square
#AF3258 #97AF32 #32AF89 #4B32AF
split-complementary
#AF3258 #32AF4B #3297AF
monochromatic
#501728 #7F2440 #AF3258 #CD5177 #DB819C

Accessibility & contrast

On white

6.14
#AF3258 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#AF3258 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3258
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3258#FFFFFF#000000##FFFFFF
##AF32581.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5259
Deuteranopia (green-blind)
#706B55
Tritanopia (blue-blind)
#BF1A42
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #af3258;
/* rgb */ color: rgb(175, 50, 88);
/* oklch */ color: oklch(51.6% 0.163 6.7);
Tailwind
colors: {
  custom: {
    50: '#cc7386',
    500: '#af3258',
    950: '#000000',
  },
}
SCSS
$custom: #af3258;
$custom-light: #cc7386;
$custom-dark: #000000;
JSON
{
  "hex": "#af3258",
  "rgb": {
    "r": 175,
    "g": 50,
    "b": 88
  },
  "hsl": {
    "h": 341.76,
    "s": 55.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.51561,
    "c": 0.16251,
    "h": 6.7
  },
  "luminance": 0.121
}

Semantic roles & 50–950 ramp

primary
#AF3258
secondary
#79C4AD
accent
#DFB149
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#14090B
muted
#837B7C

Preview Lab

Preview with #AF3258

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

Preview Lab → · Contrast checker → · Palette generator →

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