#B4295F#B4295F

#B4295F is a mid, vivid pink. Relative luminance 0.121; OKLCH L 51.8% C 0.178 H 2.7°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#B4295F
RGBrgb(180, 41, 95)
HSLhsl(337, 63%, 43%)
HSVhsv(337, 77%, 71%)
CMYKcmyk(0%, 77.2%, 47.2%, 29.4%)
CIE-LABlab(41.40, 58.08, 3.02)
CIE-LCHlch(41.40, 58.16, 2.98°)
OKLaboklab(51.81% 0.1781 0.0084)
OKLCHoklch(51.81% 0.178 2.7)
XYZxyz(21.6827, 12.1183, 12.0216)
Luminance0.1211 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4295F #29B47E
analogous
#B429A4 #B4295F #B43929
triadic
#B4295F #5FB429 #295FB4
tetradic
#B4295F #A4B429 #29B47E #3929B4
square
#B4295F #A4B429 #29B47E #3929B4
split-complementary
#B4295F #29B439 #29A4B4
monochromatic
#50122A #821E45 #B4295F #D5457D #E077A0

Accessibility & contrast

On white

6.13
#B4295F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#B4295F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4295F
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4295F#FFFFFF#000000##FFFFFF
##B4295F1.006.133.426.13
#FFFFFF6.131.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5060
Deuteranopia (green-blind)
#706B5C
Tritanopia (blue-blind)
#C40641
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b4295f;
/* rgb */ color: rgb(180, 41, 95);
/* oklch */ color: oklch(51.8% 0.178 2.7);
Tailwind
colors: {
  custom: {
    50: '#d0708c',
    500: '#b4295f',
    950: '#000000',
  },
}
SCSS
$custom: #b4295f;
$custom-light: #d0708c;
$custom-dark: #000000;
JSON
{
  "hex": "#b4295f",
  "rgb": {
    "r": 180,
    "g": 41,
    "b": 95
  },
  "hsl": {
    "h": 336.691,
    "s": 62.896,
    "l": 43.333
  },
  "oklch": {
    "l": 0.51813,
    "c": 0.17829,
    "h": 2.7
  },
  "luminance": 0.12115
}

Semantic roles & 50–950 ramp

primary
#B4295F
secondary
#71C8A6
accent
#E6A642
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15080C
muted
#837B7D

Preview Lab

Preview with #B4295F

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

Preview Lab → · Contrast checker → · Palette generator →

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