#AF368C#AF368C

#AF368C is a mid, vivid pink. Relative luminance 0.136; OKLCH L 53.9% C 0.181 H 341.5°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#AF368C
RGBrgb(175, 54, 140)
HSLhsl(317, 53%, 45%)
HSVhsv(317, 69%, 69%)
CMYKcmyk(0%, 69.1%, 20%, 31.4%)
CIE-LABlab(43.72, 57.42, -21.41)
CIE-LCHlch(43.72, 61.28, 339.55°)
OKLaboklab(53.87% 0.1717 -0.0575)
OKLCHoklch(53.87% 0.181 341.5)
XYZxyz(23.7327, 13.6480, 26.1903)
Luminance0.1365 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF368C #36AF59
analogous
#9536AF #AF368C #AF3650
triadic
#AF368C #8CAF36 #368CAF
tetradic
#AF368C #AF9536 #36AF59 #3650AF
square
#AF368C #AF9536 #36AF59 #3650AF
split-complementary
#AF368C #50AF36 #36AF95
monochromatic
#511941 #802867 #AF368C #CB57AA #DA86C1

Accessibility & contrast

On white

5.63
#AF368C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#AF368C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF368C
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF368C#FFFFFF#000000##FFFFFF
##AF368C1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5B8E
Deuteranopia (green-blind)
#656E89
Tritanopia (blue-blind)
#BA385C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #af368c;
/* rgb */ color: rgb(175, 54, 140);
/* oklch */ color: oklch(53.9% 0.181 341.5);
Tailwind
colors: {
  custom: {
    50: '#ca77ad',
    500: '#af368c',
    950: '#000000',
  },
}
SCSS
$custom: #af368c;
$custom-light: #ca77ad;
$custom-dark: #000000;
JSON
{
  "hex": "#af368c",
  "rgb": {
    "r": 175,
    "g": 54,
    "b": 140
  },
  "hsl": {
    "h": 317.355,
    "s": 52.838,
    "l": 44.902
  },
  "oklch": {
    "l": 0.53874,
    "c": 0.18107,
    "h": 341.5
  },
  "luminance": 0.13646
}

Semantic roles & 50–950 ramp

primary
#AF368C
secondary
#7DC392
accent
#DC754C
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AF368C

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

Preview Lab → · Contrast checker → · Palette generator →

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