#AF4262#AF4262

#AF4262 is a mid, vivid pink. Relative luminance 0.139; OKLCH L 53.7% C 0.145 H 5.2°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#AF4262
RGBrgb(175, 66, 98)
HSLhsl(342, 45%, 47%)
HSVhsv(342, 62%, 69%)
CMYKcmyk(0%, 62.3%, 44%, 31.4%)
CIE-LABlab(44.08, 47.25, 4.89)
CIE-LCHlch(44.08, 47.50, 5.91°)
OKLaboklab(53.66% 0.144 0.0131)
OKLCHoklch(53.66% 0.145 5.2)
XYZxyz(21.8335, 13.8948, 13.0851)
Luminance0.1389 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4262 #42AF8F
analogous
#AF4299 #AF4262 #AF5842
triadic
#AF4262 #62AF42 #4262AF
tetradic
#AF4262 #99AF42 #42AF8F #5842AF
square
#AF4262 #99AF42 #42AF8F #5842AF
split-complementary
#AF4262 #42AF58 #4299AF
monochromatic
#562030 #833149 #AF4262 #C66884 #D795A8

Accessibility & contrast

On white

5.56
#AF4262 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#AF4262 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4262
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4262#FFFFFF#000000##FFFFFF
##AF42621.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#585B63
Deuteranopia (green-blind)
#75705F
Tritanopia (blue-blind)
#BE354E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #af4262;
/* rgb */ color: rgb(175, 66, 98);
/* oklch */ color: oklch(53.7% 0.145 5.2);
Tailwind
colors: {
  custom: {
    50: '#cb7c8e',
    500: '#af4262',
    950: '#000000',
  },
}
SCSS
$custom: #af4262;
$custom-light: #cb7c8e;
$custom-dark: #000000;
JSON
{
  "hex": "#af4262",
  "rgb": {
    "r": 175,
    "g": 66,
    "b": 98
  },
  "hsl": {
    "h": 342.385,
    "s": 45.228,
    "l": 47.255
  },
  "oklch": {
    "l": 0.53657,
    "c": 0.1446,
    "h": 5.2
  },
  "luminance": 0.13892
}

Semantic roles & 50–950 ramp

primary
#AF4262
secondary
#8AC2B2
accent
#D5AF53
background
#FDF7F8
surface
#FAEEF0
border
#D3C9CB
text
#140A0C
muted
#837C7D

Preview Lab

Preview with #AF4262

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

Preview Lab → · Contrast checker → · Palette generator →

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