#AF4283#AF4283

#AF4283 is a mid, vivid pink. Relative luminance 0.146; OKLCH L 54.8% C 0.159 H 346.8°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#AF4283
RGBrgb(175, 66, 131)
HSLhsl(324, 45%, 47%)
HSVhsv(324, 62%, 69%)
CMYKcmyk(0%, 62.3%, 25.1%, 31.4%)
CIE-LABlab(45.15, 51.23, -13.76)
CIE-LCHlch(45.15, 53.04, 344.97°)
OKLaboklab(54.8% 0.1546 -0.0363)
OKLCHoklch(54.8% 0.159 346.8)
XYZxyz(23.7250, 14.6514, 23.0468)
Luminance0.1465 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4283 #42AF6E
analogous
#A442AF #AF4283 #AF424D
triadic
#AF4283 #83AF42 #4283AF
tetradic
#AF4283 #AFA442 #42AF6E #424DAF
square
#AF4283 #AFA442 #42AF6E #424DAF
split-complementary
#AF4283 #4DAF42 #42AFA4
monochromatic
#562040 #833162 #AF4283 #C668A0 #D795BC

Accessibility & contrast

On white

5.34
#AF4283 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#AF4283 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4283
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4283#FFFFFF#000000##FFFFFF
##AF42831.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5F85
Deuteranopia (green-blind)
#6D7280
Tritanopia (blue-blind)
#BA405D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #af4283;
/* rgb */ color: rgb(175, 66, 131);
/* oklch */ color: oklch(54.8% 0.159 346.8);
Tailwind
colors: {
  custom: {
    50: '#ca7da7',
    500: '#af4283',
    950: '#000000',
  },
}
SCSS
$custom: #af4283;
$custom-light: #ca7da7;
$custom-dark: #000000;
JSON
{
  "hex": "#af4283",
  "rgb": {
    "r": 175,
    "g": 66,
    "b": 131
  },
  "hsl": {
    "h": 324.22,
    "s": 45.228,
    "l": 47.255
  },
  "oklch": {
    "l": 0.54804,
    "c": 0.15882,
    "h": 346.8
  },
  "luminance": 0.14649
}

Semantic roles & 50–950 ramp

primary
#AF4283
secondary
#8AC2A1
accent
#D58753
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140A0F
muted
#827C7F

Preview Lab

Preview with #AF4283

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

Preview Lab → · Contrast checker → · Palette generator →

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