#AB2F4B#AB2F4B

#AB2F4B is a mid, vivid red. Relative luminance 0.112; OKLCH L 50.2% C 0.160 H 12.0°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#AB2F4B
RGBrgb(171, 47, 75)
HSLhsl(346, 57%, 43%)
HSVhsv(346, 73%, 67%)
CMYKcmyk(0%, 72.5%, 56.1%, 32.9%)
CIE-LABlab(39.92, 51.75, 13.30)
CIE-LCHlch(39.92, 53.43, 14.42°)
OKLaboklab(50.24% 0.1564 0.0334)
OKLCHoklch(50.24% 0.16 12)
XYZxyz(19.0829, 11.2016, 7.8125)
Luminance0.1120 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2F4B #2FAB8F
analogous
#AB2F89 #AB2F4B #AB512F
triadic
#AB2F4B #4BAB2F #2F4BAB
tetradic
#AB2F4B #89AB2F #2FAB8F #512FAB
square
#AB2F4B #89AB2F #2FAB8F #512FAB
split-complementary
#AB2F4B #2FAB51 #2F89AB
monochromatic
#4B1521 #7B2236 #AB2F4B #CD4A68 #DA7A90

Accessibility & contrast

On white

6.48
#AB2F4B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#AB2F4B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2F4B
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2F4B#FFFFFF#000000##FFFFFF
##AB2F4B1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4E4B
Deuteranopia (green-blind)
#6F6748
Tritanopia (blue-blind)
#BB0F3A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #ab2f4b;
/* rgb */ color: rgb(171, 47, 75);
/* oklch */ color: oklch(50.2% 0.160 12.0);
Tailwind
colors: {
  custom: {
    50: '#ca717d',
    500: '#ab2f4b',
    950: '#000000',
  },
}
SCSS
$custom: #ab2f4b;
$custom-light: #ca717d;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2f4b",
  "rgb": {
    "r": 171,
    "g": 47,
    "b": 75
  },
  "hsl": {
    "h": 346.452,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.50239,
    "c": 0.15993,
    "h": 12
  },
  "luminance": 0.11199
}

Semantic roles & 50–950 ramp

primary
#AB2F4B
secondary
#73C3B1
accent
#E0BE48
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#140809
muted
#837B7B

Preview Lab

Preview with #AB2F4B

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

Preview Lab → · Contrast checker → · Palette generator →

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