#AF2765#AF2765

#AF2765 is a mid, vivid pink. Relative luminance 0.115; OKLCH L 51.0% C 0.178 H 358.3°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#AF2765
RGBrgb(175, 39, 101)
HSLhsl(333, 64%, 42%)
HSVhsv(333, 78%, 69%)
CMYKcmyk(0%, 77.7%, 42.3%, 31.4%)
CIE-LABlab(40.42, 57.89, -2.30)
CIE-LCHlch(40.42, 57.94, 357.73°)
OKLaboklab(50.98% 0.178 -0.0053)
OKLCHoklch(50.98% 0.178 358.3)
XYZxyz(20.7552, 11.5073, 13.4376)
Luminance0.1150 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2765 #27AF71
analogous
#AF27A9 #AF2765 #AF2D27
triadic
#AF2765 #65AF27 #2765AF
tetradic
#AF2765 #A9AF27 #27AF71 #2D27AF
square
#AF2765 #A9AF27 #27AF71 #2D27AF
split-complementary
#AF2765 #27AF2D #27A9AF
monochromatic
#4B112B #7D1C48 #AF2765 #D43F83 #DF71A3

Accessibility & contrast

On white

6.36
#AF2765 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#AF2765 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2765
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2765#FFFFFF#000000##FFFFFF
##AF27651.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454F67
Deuteranopia (green-blind)
#6A6962
Tritanopia (blue-blind)
#BE0E43
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af2765;
/* rgb */ color: rgb(175, 39, 101);
/* oklch */ color: oklch(51.0% 0.178 358.3);
Tailwind
colors: {
  custom: {
    50: '#cc6f90',
    500: '#af2765',
    950: '#000000',
  },
}
SCSS
$custom: #af2765;
$custom-light: #cc6f90;
$custom-dark: #000000;
JSON
{
  "hex": "#af2765",
  "rgb": {
    "r": 175,
    "g": 39,
    "b": 101
  },
  "hsl": {
    "h": 332.647,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.5098,
    "c": 0.17804,
    "h": 358.3
  },
  "luminance": 0.11505
}

Semantic roles & 50–950 ramp

primary
#AF2765
secondary
#6BC69D
accent
#E79B41
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080C
muted
#837B7D

Preview Lab

Preview with #AF2765

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

Preview Lab → · Contrast checker → · Palette generator →

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