#AF3858#AF3858

#AF3858 is a mid, vivid pink. Relative luminance 0.126; OKLCH L 52.2% C 0.155 H 8.1°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#AF3858
RGBrgb(175, 56, 88)
HSLhsl(344, 52%, 45%)
HSVhsv(344, 68%, 69%)
CMYKcmyk(0%, 68%, 49.7%, 31.4%)
CIE-LABlab(42.23, 50.59, 8.47)
CIE-LCHlch(42.23, 51.29, 9.50°)
OKLaboklab(52.19% 0.1539 0.0219)
OKLCHoklch(52.19% 0.155 8.1)
XYZxyz(20.8565, 12.6496, 10.5740)
Luminance0.1265 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3858 #38AF8F
analogous
#AF3893 #AF3858 #AF5438
triadic
#AF3858 #58AF38 #3858AF
tetradic
#AF3858 #93AF38 #38AF8F #5438AF
square
#AF3858 #93AF38 #38AF8F #5438AF
split-complementary
#AF3858 #38AF54 #3893AF
monochromatic
#521A29 #812941 #AF3858 #CA5A78 #D9889E

Accessibility & contrast

On white

5.95
#AF3858 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#AF3858 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3858
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3858#FFFFFF#000000##FFFFFF
##AF38581.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#535559
Deuteranopia (green-blind)
#726C55
Tritanopia (blue-blind)
#BE2445
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #af3858;
/* rgb */ color: rgb(175, 56, 88);
/* oklch */ color: oklch(52.2% 0.155 8.1);
Tailwind
colors: {
  custom: {
    50: '#cc7686',
    500: '#af3858',
    950: '#000000',
  },
}
SCSS
$custom: #af3858;
$custom-light: #cc7686;
$custom-dark: #000000;
JSON
{
  "hex": "#af3858",
  "rgb": {
    "r": 175,
    "g": 56,
    "b": 88
  },
  "hsl": {
    "h": 343.866,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.52193,
    "c": 0.15546,
    "h": 8.1
  },
  "luminance": 0.12647
}

Semantic roles & 50–950 ramp

primary
#AF3858
secondary
#80C3B1
accent
#DBB54D
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#14090B
muted
#837B7C

Preview Lab

Preview with #AF3858

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

Preview Lab → · Contrast checker → · Palette generator →

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