#AF3058#AF3058

#AF3058 is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.4% C 0.165 H 6.3°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#AF3058
RGBrgb(175, 48, 88)
HSLhsl(341, 57%, 44%)
HSVhsv(341, 73%, 69%)
CMYKcmyk(0%, 72.6%, 49.7%, 31.4%)
CIE-LABlab(41.11, 53.67, 6.89)
CIE-LCHlch(41.11, 54.11, 7.31°)
OKLaboklab(51.37% 0.1638 0.018)
OKLCHoklch(51.37% 0.165 6.3)
XYZxyz(20.4993, 11.9352, 10.4549)
Luminance0.1193 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3058 #30AF87
analogous
#AF3097 #AF3058 #AF4730
triadic
#AF3058 #58AF30 #3058AF
tetradic
#AF3058 #97AF30 #30AF87 #4730AF
square
#AF3058 #97AF30 #30AF87 #4730AF
split-complementary
#AF3058 #30AF47 #3097AF
monochromatic
#4F1628 #7F2340 #AF3058 #CE4E76 #DC7E9B

Accessibility & contrast

On white

6.20
#AF3058 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF3058
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3058#FFFFFF#000000##FFFFFF
##AF30581.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5159
Deuteranopia (green-blind)
#706A55
Tritanopia (blue-blind)
#BF1741
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #af3058;
/* rgb */ color: rgb(175, 48, 88);
/* oklch */ color: oklch(51.4% 0.165 6.3);
Tailwind
colors: {
  custom: {
    50: '#cc7286',
    500: '#af3058',
    950: '#000000',
  },
}
SCSS
$custom: #af3058;
$custom-light: #cc7286;
$custom-dark: #000000;
JSON
{
  "hex": "#af3058",
  "rgb": {
    "r": 175,
    "g": 48,
    "b": 88
  },
  "hsl": {
    "h": 341.102,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.51365,
    "c": 0.16476,
    "h": 6.3
  },
  "luminance": 0.11932
}

Semantic roles & 50–950 ramp

primary
#AF3058
secondary
#76C4AC
accent
#E0B048
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#14090B
muted
#837B7C

Preview Lab

Preview with #AF3058

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

Preview Lab → · Contrast checker → · Palette generator →

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