#AF4094#AF4094

#AF4094 is a mid, vivid pink. Relative luminance 0.149; OKLCH L 55.3% C 0.173 H 338.5°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#AF4094
RGBrgb(175, 64, 148)
HSLhsl(315, 46%, 47%)
HSVhsv(315, 63%, 69%)
CMYKcmyk(0%, 63.4%, 15.4%, 31.4%)
CIE-LABlab(45.53, 54.56, -23.46)
CIE-LCHlch(45.53, 59.38, 336.74°)
OKLaboklab(55.3% 0.161 -0.0634)
OKLCHoklch(55.3% 0.173 338.5)
XYZxyz(24.8583, 14.9210, 29.5821)
Luminance0.1492 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4094 #40AF5B
analogous
#9340AF #AF4094 #AF405C
triadic
#AF4094 #94AF40 #4094AF
tetradic
#AF4094 #AF9340 #40AF5B #405CAF
square
#AF4094 #AF9340 #40AF5B #405CAF
split-complementary
#AF4094 #5CAF40 #40AF93
monochromatic
#551F48 #82306E #AF4094 #C765AF #D792C6

Accessibility & contrast

On white

5.27
#AF4094 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#AF4094 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4094
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4094#FFFFFF#000000##FFFFFF
##AF40941.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#446197
Deuteranopia (green-blind)
#667291
Tritanopia (blue-blind)
#B84464
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #af4094;
/* rgb */ color: rgb(175, 64, 148);
/* oklch */ color: oklch(55.3% 0.173 338.5);
Tailwind
colors: {
  custom: {
    50: '#ca7cb3',
    500: '#af4094',
    950: '#000000',
  },
}
SCSS
$custom: #af4094;
$custom-light: #ca7cb3;
$custom-dark: #000000;
JSON
{
  "hex": "#af4094",
  "rgb": {
    "r": 175,
    "g": 64,
    "b": 148
  },
  "hsl": {
    "h": 314.595,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.55304,
    "c": 0.17301,
    "h": 338.5
  },
  "luminance": 0.14919
}

Semantic roles & 50–950 ramp

primary
#AF4094
secondary
#88C396
accent
#D67252
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140A11
muted
#827C80

Preview Lab

Preview with #AF4094

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

Preview Lab → · Contrast checker → · Palette generator →

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