#AF3068#AF3068

#AF3068 is a mid, vivid pink. Relative luminance 0.122; OKLCH L 51.9% C 0.170 H 358.0°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#AF3068
RGBrgb(175, 48, 104)
HSLhsl(334, 57%, 44%)
HSVhsv(334, 73%, 69%)
CMYKcmyk(0%, 72.6%, 40.6%, 31.4%)
CIE-LABlab(41.58, 55.21, -2.47)
CIE-LCHlch(41.58, 55.27, 357.44°)
OKLaboklab(51.86% 0.1694 -0.0058)
OKLCHoklch(51.86% 0.17 358)
XYZxyz(21.2363, 12.2300, 14.3363)
Luminance0.1223 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3068 #30AF77
analogous
#AF30A7 #AF3068 #AF3730
triadic
#AF3068 #68AF30 #3068AF
tetradic
#AF3068 #A7AF30 #30AF77 #3730AF
square
#AF3068 #A7AF30 #30AF77 #3730AF
split-complementary
#AF3068 #30AF37 #30A7AF
monochromatic
#4F162F #7F234B #AF3068 #CE4E87 #DC7EA7

Accessibility & contrast

On white

6.10
#AF3068 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#AF3068 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3068
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3068#FFFFFF#000000##FFFFFF
##AF30681.006.103.456.10
#FFFFFF6.101.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5369
Deuteranopia (green-blind)
#6C6B65
Tritanopia (blue-blind)
#BD2048
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #af3068;
/* rgb */ color: rgb(175, 48, 104);
/* oklch */ color: oklch(51.9% 0.170 358.0);
Tailwind
colors: {
  custom: {
    50: '#cc7393',
    500: '#af3068',
    950: '#000000',
  },
}
SCSS
$custom: #af3068;
$custom-light: #cc7393;
$custom-dark: #000000;
JSON
{
  "hex": "#af3068",
  "rgb": {
    "r": 175,
    "g": 48,
    "b": 104
  },
  "hsl": {
    "h": 333.543,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.51861,
    "c": 0.1695,
    "h": 358
  },
  "luminance": 0.12227
}

Semantic roles & 50–950 ramp

primary
#AF3068
secondary
#76C4A2
accent
#E09D48
background
#FDF7F9
surface
#FAEDF1
border
#D3C8CB
text
#14090D
muted
#837B7E

Preview Lab

Preview with #AF3068

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

Preview Lab → · Contrast checker → · Palette generator →

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