#B42F4C#B42F4C

#B42F4C is a mid, vivid red. Relative luminance 0.123; OKLCH L 51.8% C 0.169 H 13.0°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#B42F4C
RGBrgb(180, 47, 76)
HSLhsl(347, 59%, 45%)
HSVhsv(347, 74%, 71%)
CMYKcmyk(0%, 73.9%, 57.8%, 29.4%)
CIE-LABlab(41.63, 54.57, 15.28)
CIE-LCHlch(41.63, 56.67, 15.64°)
OKLaboklab(51.82% 0.1646 0.038)
OKLCHoklch(51.82% 0.169 13)
XYZxyz(21.1455, 12.2611, 8.0893)
Luminance0.1226 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42F4C #2FB497
analogous
#B42F8F #B42F4C #B4542F
triadic
#B42F4C #4CB42F #2F4CB4
tetradic
#B42F4C #8FB42F #2FB497 #542FB4
square
#B42F4C #8FB42F #2FB497 #542FB4
split-complementary
#B42F4C #2FB454 #2F8FB4
monochromatic
#531623 #832238 #B42F4C #D14F6B #DE8094

Accessibility & contrast

On white

6.08
#B42F4C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#B42F4C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42F4C
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42F4C#FFFFFF#000000##FFFFFF
##B42F4C1.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52514C
Deuteranopia (green-blind)
#746C49
Tritanopia (blue-blind)
#C5043B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b42f4c;
/* rgb */ color: rgb(180, 47, 76);
/* oklch */ color: oklch(51.8% 0.169 13.0);
Tailwind
colors: {
  custom: {
    50: '#d1727d',
    500: '#b42f4c',
    950: '#000000',
  },
}
SCSS
$custom: #b42f4c;
$custom-light: #d1727d;
$custom-dark: #000000;
JSON
{
  "hex": "#b42f4c",
  "rgb": {
    "r": 180,
    "g": 47,
    "b": 76
  },
  "hsl": {
    "h": 346.917,
    "s": 58.59,
    "l": 44.51
  },
  "oklch": {
    "l": 0.51823,
    "c": 0.16889,
    "h": 13
  },
  "luminance": 0.12258
}

Semantic roles & 50–950 ramp

primary
#B42F4C
secondary
#78C7B6
accent
#E2C046
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#150909
muted
#837B7B

Preview Lab

Preview with #B42F4C

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

Preview Lab → · Contrast checker → · Palette generator →

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