#AF2246#AF2246

#AF2246 is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.7% C 0.175 H 12.6°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#AF2246
RGBrgb(175, 34, 70)
HSLhsl(345, 67%, 41%)
HSVhsv(345, 81%, 69%)
CMYKcmyk(0%, 80.6%, 60%, 31.4%)
CIE-LABlab(39.08, 56.79, 15.45)
CIE-LCHlch(39.08, 58.85, 15.22°)
OKLaboklab(49.72% 0.1713 0.0382)
OKLCHoklch(49.72% 0.176 12.6)
XYZxyz(19.3587, 10.7031, 6.8397)
Luminance0.1070 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2246 #22AF8B
analogous
#AF228C #AF2246 #AF4422
triadic
#AF2246 #46AF22 #2246AF
tetradic
#AF2246 #8CAF22 #22AF8B #4422AF
square
#AF2246 #8CAF22 #22AF8B #4422AF
split-complementary
#AF2246 #22AF44 #228CAF
monochromatic
#490E1D #7C1832 #AF2246 #D83660 #E26988

Accessibility & contrast

On white

6.69
#AF2246 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#AF2246 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2246
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2246#FFFFFF#000000##FFFFFF
##AF22461.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4A46
Deuteranopia (green-blind)
#6E6642
Tritanopia (blue-blind)
#C00032
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #af2246;
/* rgb */ color: rgb(175, 34, 70);
/* oklch */ color: oklch(49.7% 0.175 12.6);
Tailwind
colors: {
  custom: {
    50: '#ce6c79',
    500: '#af2246',
    950: '#000000',
  },
}
SCSS
$custom: #af2246;
$custom-light: #ce6c79;
$custom-dark: #000000;
JSON
{
  "hex": "#af2246",
  "rgb": {
    "r": 175,
    "g": 34,
    "b": 70
  },
  "hsl": {
    "h": 344.681,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.49719,
    "c": 0.1755,
    "h": 12.6
  },
  "luminance": 0.107
}

Semantic roles & 50–950 ramp

primary
#AF2246
secondary
#65C8AF
accent
#EABE3D
background
#FDF6F7
surface
#FBECED
border
#D4C7C8
text
#150809
muted
#837A7B

Preview Lab

Preview with #AF2246

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

Preview Lab → · Contrast checker → · Palette generator →

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