#B42F4D#B42F4D

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

Color values

HEX#B42F4D
RGBrgb(180, 47, 77)
HSLhsl(346, 59%, 45%)
HSVhsv(346, 74%, 71%)
CMYKcmyk(0%, 73.9%, 57.2%, 29.4%)
CIE-LABlab(41.65, 54.64, 14.68)
CIE-LCHlch(41.65, 56.58, 15.04°)
OKLaboklab(51.85% 0.165 0.0366)
OKLCHoklch(51.85% 0.169 12.5)
XYZxyz(21.1805, 12.2752, 8.2738)
Luminance0.1227 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42F4D #2FB496
analogous
#B42F90 #B42F4D #B4542F
triadic
#B42F4D #4DB42F #2F4DB4
tetradic
#B42F4D #90B42F #2FB496 #542FB4
square
#B42F4D #90B42F #2FB496 #542FB4
split-complementary
#B42F4D #2FB454 #2F90B4
monochromatic
#531623 #832238 #B42F4D #D14F6C #DE8095

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B42F4D#FFFFFF#000000##FFFFFF
##B42F4D1.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)
#52514D
Deuteranopia (green-blind)
#746C4A
Tritanopia (blue-blind)
#C5053B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b42f4d;
/* rgb */ color: rgb(180, 47, 77);
/* oklch */ color: oklch(51.8% 0.169 12.5);
Tailwind
colors: {
  custom: {
    50: '#d1727e',
    500: '#b42f4d',
    950: '#000000',
  },
}
SCSS
$custom: #b42f4d;
$custom-light: #d1727e;
$custom-dark: #000000;
JSON
{
  "hex": "#b42f4d",
  "rgb": {
    "r": 180,
    "g": 47,
    "b": 77
  },
  "hsl": {
    "h": 346.466,
    "s": 58.59,
    "l": 44.51
  },
  "oklch": {
    "l": 0.51846,
    "c": 0.16897,
    "h": 12.5
  },
  "luminance": 0.12272
}

Semantic roles & 50–950 ramp

primary
#B42F4D
secondary
#78C7B5
accent
#E2BF46
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#150909
muted
#837B7B

Preview Lab

Preview with #B42F4D

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

Preview Lab → · Contrast checker → · Palette generator →

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