#AF1F46#AF1F46

#AF1F46 is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.5% C 0.178 H 12.1°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#AF1F46
RGBrgb(175, 31, 70)
HSLhsl(344, 70%, 40%)
HSVhsv(344, 82%, 69%)
CMYKcmyk(0%, 82.3%, 60%, 31.4%)
CIE-LABlab(38.79, 57.59, 15.07)
CIE-LCHlch(38.79, 59.53, 14.67°)
OKLaboklab(49.51% 0.1739 0.0373)
OKLCHoklch(49.51% 0.178 12.1)
XYZxyz(19.2767, 10.5390, 6.8124)
Luminance0.1054 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF1F46 #1FAF88
analogous
#AF1F8E #AF1F46 #AF401F
triadic
#AF1F46 #46AF1F #1F46AF
tetradic
#AF1F46 #8EAF1F #1FAF88 #401FAF
square
#AF1F46 #8EAF1F #1FAF88 #401FAF
split-complementary
#AF1F46 #1FAF40 #1F8EAF
monochromatic
#470D1C #7B1631 #AF1F46 #DA315F #E46587

Accessibility & contrast

On white

6.76
#AF1F46 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#AF1F46 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF1F46
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF1F46#FFFFFF#000000##FFFFFF
##AF1F461.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494946
Deuteranopia (green-blind)
#6E6642
Tritanopia (blue-blind)
#C00030
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #af1f46;
/* rgb */ color: rgb(175, 31, 70);
/* oklch */ color: oklch(49.5% 0.178 12.1);
Tailwind
colors: {
  custom: {
    50: '#ce6b79',
    500: '#af1f46',
    950: '#000000',
  },
}
SCSS
$custom: #af1f46;
$custom-light: #ce6b79;
$custom-dark: #000000;
JSON
{
  "hex": "#af1f46",
  "rgb": {
    "r": 175,
    "g": 31,
    "b": 70
  },
  "hsl": {
    "h": 343.75,
    "s": 69.903,
    "l": 40.392
  },
  "oklch": {
    "l": 0.49511,
    "c": 0.17784,
    "h": 12.1
  },
  "luminance": 0.10536
}

Semantic roles & 50–950 ramp

primary
#AF1F46
secondary
#61C9AD
accent
#EDBD3B
background
#FDF6F7
surface
#FBECED
border
#D4C7C8
text
#150809
muted
#837A7B

Preview Lab

Preview with #AF1F46

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

Preview Lab → · Contrast checker → · Palette generator →

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