#B34271#B34271

#B34271 is a mid, vivid pink. Relative luminance 0.147; OKLCH L 54.8% C 0.153 H 357.6°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#B34271
RGBrgb(179, 66, 113)
HSLhsl(335, 46%, 48%)
HSVhsv(335, 63%, 70%)
CMYKcmyk(0%, 63.1%, 36.9%, 29.8%)
CIE-LABlab(45.19, 50.18, -2.65)
CIE-LCHlch(45.19, 50.25, 356.98°)
OKLaboklab(54.75% 0.1533 -0.0063)
OKLCHoklch(54.75% 0.153 357.6)
XYZxyz(23.5206, 14.6750, 17.2135)
Luminance0.1467 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34271 #42B384
analogous
#B342A9 #B34271 #B34B42
triadic
#B34271 #71B342 #4271B3
tetradic
#B34271 #A9B342 #42B384 #4B42B3
square
#B34271 #A9B342 #42B384 #4B42B3
split-complementary
#B34271 #42B34B #42A9B3
monochromatic
#5A2139 #863255 #B34271 #C86A91 #D997B2

Accessibility & contrast

On white

5.34
#B34271 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#B34271 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B34271
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B34271#FFFFFF#000000##FFFFFF
##B342711.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#565E72
Deuteranopia (green-blind)
#74736E
Tritanopia (blue-blind)
#C13855
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b34271;
/* rgb */ color: rgb(179, 66, 113);
/* oklch */ color: oklch(54.8% 0.153 357.6);
Tailwind
colors: {
  custom: {
    50: '#ce7d99',
    500: '#b34271',
    950: '#000000',
  },
}
SCSS
$custom: #b34271;
$custom-light: #ce7d99;
$custom-dark: #000000;
JSON
{
  "hex": "#b34271",
  "rgb": {
    "r": 179,
    "g": 66,
    "b": 113
  },
  "hsl": {
    "h": 335.044,
    "s": 46.122,
    "l": 48.039
  },
  "oklch": {
    "l": 0.54751,
    "c": 0.15342,
    "h": 357.6
  },
  "luminance": 0.14672
}

Semantic roles & 50–950 ramp

primary
#B34271
secondary
#8CC4AD
accent
#D69F52
background
#FDF7F9
surface
#FAEEF2
border
#D3C9CC
text
#140A0E
muted
#837C7E

Preview Lab

Preview with #B34271

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

Preview Lab → · Contrast checker → · Palette generator →

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