#AF2248#AF2248

#AF2248 is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.8% C 0.176 H 11.6°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#AF2248
RGBrgb(175, 34, 72)
HSLhsl(344, 67%, 41%)
HSVhsv(344, 81%, 69%)
CMYKcmyk(0%, 80.6%, 58.9%, 31.4%)
CIE-LABlab(39.12, 56.92, 14.24)
CIE-LCHlch(39.12, 58.68, 14.05°)
OKLaboklab(49.77% 0.1721 0.0354)
OKLCHoklch(49.77% 0.176 11.6)
XYZxyz(19.4229, 10.7288, 7.1778)
Luminance0.1073 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2248 #22AF89
analogous
#AF228E #AF2248 #AF4222
triadic
#AF2248 #48AF22 #2248AF
tetradic
#AF2248 #8EAF22 #22AF89 #4222AF
square
#AF2248 #8EAF22 #22AF89 #4222AF
split-complementary
#AF2248 #22AF42 #228EAF
monochromatic
#490E1E #7C1833 #AF2248 #D83662 #E2698A

Accessibility & contrast

On white

6.68
#AF2248 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#AF2248 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2248
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2248#FFFFFF#000000##FFFFFF
##AF22481.006.683.156.68
#FFFFFF6.681.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4A49
Deuteranopia (green-blind)
#6E6644
Tritanopia (blue-blind)
#C00033
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #af2248;
/* rgb */ color: rgb(175, 34, 72);
/* oklch */ color: oklch(49.8% 0.176 11.6);
Tailwind
colors: {
  custom: {
    50: '#ce6c7a',
    500: '#af2248',
    950: '#000000',
  },
}
SCSS
$custom: #af2248;
$custom-light: #ce6c7a;
$custom-dark: #000000;
JSON
{
  "hex": "#af2248",
  "rgb": {
    "r": 175,
    "g": 34,
    "b": 72
  },
  "hsl": {
    "h": 343.83,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.49766,
    "c": 0.1757,
    "h": 11.6
  },
  "luminance": 0.10726
}

Semantic roles & 50–950 ramp

primary
#AF2248
secondary
#65C8AD
accent
#EABC3D
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150809
muted
#837B7B

Preview Lab

Preview with #AF2248

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

Preview Lab → · Contrast checker → · Palette generator →

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