#AF2965#AF2965

#AF2965 is a mid, vivid pink. Relative luminance 0.116; OKLCH L 51.1% C 0.176 H 358.5°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#AF2965
RGBrgb(175, 41, 101)
HSLhsl(333, 62%, 42%)
HSVhsv(333, 77%, 69%)
CMYKcmyk(0%, 76.6%, 42.3%, 31.4%)
CIE-LABlab(40.64, 57.27, -1.97)
CIE-LCHlch(40.64, 57.31, 358.03°)
OKLaboklab(51.14% 0.176 -0.0045)
OKLCHoklch(51.14% 0.176 358.5)
XYZxyz(20.8226, 11.6421, 13.4600)
Luminance0.1164 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2965 #29AF73
analogous
#AF29A8 #AF2965 #AF3029
triadic
#AF2965 #65AF29 #2965AF
tetradic
#AF2965 #A8AF29 #29AF73 #3029AF
square
#AF2965 #A8AF29 #29AF73 #3029AF
split-complementary
#AF2965 #29AF30 #29A8AF
monochromatic
#4C122C #7D1D48 #AF2965 #D34283 #DE74A4

Accessibility & contrast

On white

6.31
#AF2965 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#AF2965 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2965
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2965#FFFFFF#000000##FFFFFF
##AF29651.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465066
Deuteranopia (green-blind)
#6B6962
Tritanopia (blue-blind)
#BE1243
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #af2965;
/* rgb */ color: rgb(175, 41, 101);
/* oklch */ color: oklch(51.1% 0.176 358.5);
Tailwind
colors: {
  custom: {
    50: '#cc7090',
    500: '#af2965',
    950: '#000000',
  },
}
SCSS
$custom: #af2965;
$custom-light: #cc7090;
$custom-dark: #000000;
JSON
{
  "hex": "#af2965",
  "rgb": {
    "r": 175,
    "g": 41,
    "b": 101
  },
  "hsl": {
    "h": 333.134,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.51141,
    "c": 0.17603,
    "h": 358.5
  },
  "luminance": 0.11639
}

Semantic roles & 50–950 ramp

primary
#AF2965
secondary
#6EC69E
accent
#E59C43
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080C
muted
#837B7D

Preview Lab

Preview with #AF2965

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

Preview Lab → · Contrast checker → · Palette generator →

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