#B34278#B34278

#B34278 is a mid, vivid pink. Relative luminance 0.148; OKLCH L 55.0% C 0.156 H 353.8°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#B34278
RGBrgb(179, 66, 120)
HSLhsl(331, 46%, 48%)
HSVhsv(331, 63%, 70%)
CMYKcmyk(0%, 63.1%, 33%, 29.8%)
CIE-LABlab(45.41, 51.01, -6.60)
CIE-LCHlch(45.41, 51.44, 352.63°)
OKLaboklab(54.99% 0.1555 -0.0168)
OKLCHoklch(54.99% 0.156 353.8)
XYZxyz(23.9300, 14.8388, 19.3696)
Luminance0.1484 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34278 #42B37D
analogous
#B342B0 #B34278 #B34442
triadic
#B34278 #78B342 #4278B3
tetradic
#B34278 #B0B342 #42B37D #4442B3
square
#B34278 #B0B342 #42B37D #4442B3
split-complementary
#B34278 #42B344 #42B0B3
monochromatic
#5A213C #86325A #B34278 #C86A97 #D997B6

Accessibility & contrast

On white

5.29
#B34278 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#B34278 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B34278
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B34278#FFFFFF#000000##FFFFFF
##B342781.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#535E7A
Deuteranopia (green-blind)
#727375
Tritanopia (blue-blind)
#C03B58
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b34278;
/* rgb */ color: rgb(179, 66, 120);
/* oklch */ color: oklch(55.0% 0.156 353.8);
Tailwind
colors: {
  custom: {
    50: '#cd7d9f',
    500: '#b34278',
    950: '#000000',
  },
}
SCSS
$custom: #b34278;
$custom-light: #cd7d9f;
$custom-dark: #000000;
JSON
{
  "hex": "#b34278",
  "rgb": {
    "r": 179,
    "g": 66,
    "b": 120
  },
  "hsl": {
    "h": 331.327,
    "s": 46.122,
    "l": 48.039
  },
  "oklch": {
    "l": 0.54994,
    "c": 0.15643,
    "h": 353.8
  },
  "luminance": 0.14836
}

Semantic roles & 50–950 ramp

primary
#B34278
secondary
#8CC4AA
accent
#D69752
background
#FDF7F9
surface
#FAEEF2
border
#D3C9CC
text
#140A0E
muted
#837C7E

Preview Lab

Preview with #B34278

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

Preview Lab → · Contrast checker → · Palette generator →

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