#AF2548#AF2548

#AF2548 is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.0% C 0.173 H 12.1°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#AF2548
RGBrgb(175, 37, 72)
HSLhsl(345, 65%, 42%)
HSVhsv(345, 79%, 69%)
CMYKcmyk(0%, 78.9%, 58.9%, 31.4%)
CIE-LABlab(39.42, 56.06, 14.66)
CIE-LCHlch(39.42, 57.94, 14.65°)
OKLaboklab(49.99% 0.1693 0.0364)
OKLCHoklch(49.99% 0.173 12.1)
XYZxyz(19.5124, 10.9079, 7.2076)
Luminance0.1090 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2548 #25AF8C
analogous
#AF258D #AF2548 #AF4725
triadic
#AF2548 #48AF25 #2548AF
tetradic
#AF2548 #8DAF25 #25AF8C #4725AF
square
#AF2548 #8DAF25 #25AF8C #4725AF
split-complementary
#AF2548 #25AF47 #258DAF
monochromatic
#4A101E #7C1A33 #AF2548 #D63C63 #E06E8B

Accessibility & contrast

On white

6.60
#AF2548 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#AF2548 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2548
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2548#FFFFFF#000000##FFFFFF
##AF25481.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4B48
Deuteranopia (green-blind)
#6F6744
Tritanopia (blue-blind)
#C00034
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #af2548;
/* rgb */ color: rgb(175, 37, 72);
/* oklch */ color: oklch(50.0% 0.173 12.1);
Tailwind
colors: {
  custom: {
    50: '#ce6d7a',
    500: '#af2548',
    950: '#000000',
  },
}
SCSS
$custom: #af2548;
$custom-light: #ce6d7a;
$custom-dark: #000000;
JSON
{
  "hex": "#af2548",
  "rgb": {
    "r": 175,
    "g": 37,
    "b": 72
  },
  "hsl": {
    "h": 344.783,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.49991,
    "c": 0.17317,
    "h": 12.1
  },
  "luminance": 0.10905
}

Semantic roles & 50–950 ramp

primary
#AF2548
secondary
#69C7AF
accent
#E8BD40
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150809
muted
#837B7B

Preview Lab

Preview with #AF2548

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

Preview Lab → · Contrast checker → · Palette generator →

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