#AF2968#AF2968

#AF2968 is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.2% C 0.177 H 357.1°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#AF2968
RGBrgb(175, 41, 104)
HSLhsl(332, 62%, 42%)
HSVhsv(332, 77%, 69%)
CMYKcmyk(0%, 76.6%, 40.6%, 31.4%)
CIE-LABlab(40.74, 57.58, -3.71)
CIE-LCHlch(40.74, 57.70, 356.31°)
OKLaboklab(51.24% 0.1769 -0.009)
OKLCHoklch(51.24% 0.177 357.1)
XYZxyz(20.9723, 11.7020, 14.2483)
Luminance0.1170 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2968 #29AF70
analogous
#AF29AB #AF2968 #AF2D29
triadic
#AF2968 #68AF29 #2968AF
tetradic
#AF2968 #ABAF29 #29AF70 #2D29AF
square
#AF2968 #ABAF29 #29AF70 #2D29AF
split-complementary
#AF2968 #29AF2D #29ABAF
monochromatic
#4C122D #7D1D4B #AF2968 #D34286 #DE74A6

Accessibility & contrast

On white

6.29
#AF2968 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#AF2968 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2968
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2968#FFFFFF#000000##FFFFFF
##AF29681.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45506A
Deuteranopia (green-blind)
#6A6965
Tritanopia (blue-blind)
#BD1545
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #af2968;
/* rgb */ color: rgb(175, 41, 104);
/* oklch */ color: oklch(51.2% 0.177 357.1);
Tailwind
colors: {
  custom: {
    50: '#cc7093',
    500: '#af2968',
    950: '#000000',
  },
}
SCSS
$custom: #af2968;
$custom-light: #cc7093;
$custom-dark: #000000;
JSON
{
  "hex": "#af2968",
  "rgb": {
    "r": 175,
    "g": 41,
    "b": 104
  },
  "hsl": {
    "h": 331.791,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.51244,
    "c": 0.17716,
    "h": 357.1
  },
  "luminance": 0.11699
}

Semantic roles & 50–950 ramp

primary
#AF2968
secondary
#6EC69D
accent
#E59943
background
#FDF7F9
surface
#FAEDF1
border
#D3C8CB
text
#14080D
muted
#837B7E

Preview Lab

Preview with #AF2968

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

Preview Lab → · Contrast checker → · Palette generator →

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