#AF3057#AF3057

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

Color values

HEX#AF3057
RGBrgb(175, 48, 87)
HSLhsl(342, 57%, 44%)
HSVhsv(342, 73%, 69%)
CMYKcmyk(0%, 72.6%, 50.3%, 31.4%)
CIE-LABlab(41.09, 53.59, 7.48)
CIE-LCHlch(41.09, 54.11, 7.95°)
OKLaboklab(51.34% 0.1634 0.0195)
OKLCHoklch(51.34% 0.165 6.8)
XYZxyz(20.4582, 11.9187, 10.2382)
Luminance0.1192 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3057 #30AF88
analogous
#AF3096 #AF3057 #AF4830
triadic
#AF3057 #57AF30 #3057AF
tetradic
#AF3057 #96AF30 #30AF88 #4830AF
square
#AF3057 #96AF30 #30AF88 #4830AF
split-complementary
#AF3057 #30AF48 #3096AF
monochromatic
#4F1627 #7F233F #AF3057 #CE4E75 #DC7E9B

Accessibility & contrast

On white

6.21
#AF3057 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#AF3057 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3057
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3057#FFFFFF#000000##FFFFFF
##AF30571.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5158
Deuteranopia (green-blind)
#706A54
Tritanopia (blue-blind)
#BF1640
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #af3057;
/* rgb */ color: rgb(175, 48, 87);
/* oklch */ color: oklch(51.3% 0.165 6.8);
Tailwind
colors: {
  custom: {
    50: '#cd7286',
    500: '#af3057',
    950: '#000000',
  },
}
SCSS
$custom: #af3057;
$custom-light: #cd7286;
$custom-dark: #000000;
JSON
{
  "hex": "#af3057",
  "rgb": {
    "r": 175,
    "g": 48,
    "b": 87
  },
  "hsl": {
    "h": 341.575,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.51337,
    "c": 0.16455,
    "h": 6.8
  },
  "luminance": 0.11916
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF3057

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

Preview Lab → · Contrast checker → · Palette generator →

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