#AD1F4B#AD1F4B

#AD1F4B is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.3% C 0.177 H 9.4°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#AD1F4B
RGBrgb(173, 31, 75)
HSLhsl(341, 70%, 40%)
HSVhsv(341, 82%, 68%)
CMYKcmyk(0%, 82.1%, 56.6%, 32.2%)
CIE-LABlab(38.51, 57.39, 11.42)
CIE-LCHlch(38.51, 58.51, 11.26°)
OKLaboklab(49.27% 0.1743 0.0288)
OKLCHoklch(49.27% 0.177 9.4)
XYZxyz(18.9955, 10.3750, 7.6576)
Luminance0.1037 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD1F4B #1FAD81
analogous
#AD1F92 #AD1F4B #AD3A1F
triadic
#AD1F4B #4BAD1F #1F4BAD
tetradic
#AD1F4B #92AD1F #1FAD81 #3A1FAD
square
#AD1F4B #92AD1F #1FAD81 #3A1FAD
split-complementary
#AD1F4B #1FAD3A #1F92AD
monochromatic
#450C1E #791635 #AD1F4B #DA2F64 #E3638B

Accessibility & contrast

On white

6.83
#AD1F4B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#AD1F4B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD1F4B
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD1F4B#FFFFFF#000000##FFFFFF
##AD1F4B1.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47484C
Deuteranopia (green-blind)
#6C6547
Tritanopia (blue-blind)
#BD0033
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #ad1f4b;
/* rgb */ color: rgb(173, 31, 75);
/* oklch */ color: oklch(49.3% 0.177 9.4);
Tailwind
colors: {
  custom: {
    50: '#cc6b7c',
    500: '#ad1f4b',
    950: '#000000',
  },
}
SCSS
$custom: #ad1f4b;
$custom-light: #cc6b7c;
$custom-dark: #000000;
JSON
{
  "hex": "#ad1f4b",
  "rgb": {
    "r": 173,
    "g": 31,
    "b": 75
  },
  "hsl": {
    "h": 341.408,
    "s": 69.608,
    "l": 40
  },
  "oklch": {
    "l": 0.49266,
    "c": 0.1767,
    "h": 9.4
  },
  "luminance": 0.10372
}

Semantic roles & 50–950 ramp

primary
#AD1F4B
secondary
#60C8A8
accent
#ECB63B
background
#FDF6F7
surface
#FAECEE
border
#D3C7C9
text
#150809
muted
#837A7B

Preview Lab

Preview with #AD1F4B

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

Preview Lab → · Contrast checker → · Palette generator →

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