#B42F4A#B42F4A

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

Color values

HEX#B42F4A
RGBrgb(180, 47, 74)
HSLhsl(348, 59%, 45%)
HSVhsv(348, 74%, 71%)
CMYKcmyk(0%, 73.9%, 58.9%, 29.4%)
CIE-LABlab(41.59, 54.43, 16.48)
CIE-LCHlch(41.59, 56.87, 16.84°)
OKLaboklab(51.78% 0.1638 0.0407)
OKLCHoklch(51.78% 0.169 14)
XYZxyz(21.0770, 12.2338, 7.7287)
Luminance0.1223 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42F4A #2FB499
analogous
#B42F8C #B42F4A #B4572F
triadic
#B42F4A #4AB42F #2F4AB4
tetradic
#B42F4A #8CB42F #2FB499 #572FB4
square
#B42F4A #8CB42F #2FB499 #572FB4
split-complementary
#B42F4A #2FB457 #2F8CB4
monochromatic
#531622 #832236 #B42F4A #D14F6A #DE8093

Accessibility & contrast

On white

6.09
#B42F4A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B42F4A
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42F4A#FFFFFF#000000##FFFFFF
##B42F4A1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52514A
Deuteranopia (green-blind)
#756C47
Tritanopia (blue-blind)
#C5033A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b42f4a;
/* rgb */ color: rgb(180, 47, 74);
/* oklch */ color: oklch(51.8% 0.169 14.0);
Tailwind
colors: {
  custom: {
    50: '#d1727c',
    500: '#b42f4a',
    950: '#000000',
  },
}
SCSS
$custom: #b42f4a;
$custom-light: #d1727c;
$custom-dark: #000000;
JSON
{
  "hex": "#b42f4a",
  "rgb": {
    "r": 180,
    "g": 47,
    "b": 74
  },
  "hsl": {
    "h": 347.82,
    "s": 58.59,
    "l": 44.51
  },
  "oklch": {
    "l": 0.51777,
    "c": 0.16875,
    "h": 14
  },
  "luminance": 0.12231
}

Semantic roles & 50–950 ramp

primary
#B42F4A
secondary
#78C7B7
accent
#E2C246
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#150909
muted
#837B7B

Preview Lab

Preview with #B42F4A

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

Preview Lab → · Contrast checker → · Palette generator →

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