#B74271#B74271

#B74271 is a mid, vivid pink. Relative luminance 0.152; OKLCH L 55.4% C 0.157 H 358.7°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#B74271
RGBrgb(183, 66, 113)
HSLhsl(336, 47%, 49%)
HSVhsv(336, 64%, 72%)
CMYKcmyk(0%, 63.9%, 38.3%, 28.2%)
CIE-LABlab(45.85, 51.43, -1.60)
CIE-LCHlch(45.85, 51.46, 358.22°)
OKLaboklab(55.37% 0.1572 -0.0035)
OKLCHoklch(55.37% 0.157 358.7)
XYZxyz(24.4588, 15.1587, 17.2575)
Luminance0.1516 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B74271 #42B788
analogous
#B742AC #B74271 #B74D42
triadic
#B74271 #71B742 #4271B7
tetradic
#B74271 #ACB742 #42B788 #4D42B7
square
#B74271 #ACB742 #42B788 #4D42B7
split-complementary
#B74271 #42B74D #42ACB7
monochromatic
#5D2239 #8A3255 #B74271 #CA6C92 #DA99B3

Accessibility & contrast

On white

5.21
#B74271 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#B74271 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B74271
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B74271#FFFFFF#000000##FFFFFF
##B742711.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#575F72
Deuteranopia (green-blind)
#77756E
Tritanopia (blue-blind)
#C53755
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b74271;
/* rgb */ color: rgb(183, 66, 113);
/* oklch */ color: oklch(55.4% 0.157 358.7);
Tailwind
colors: {
  custom: {
    50: '#d17d99',
    500: '#b74271',
    950: '#000000',
  },
}
SCSS
$custom: #b74271;
$custom-light: #d17d99;
$custom-dark: #000000;
JSON
{
  "hex": "#b74271",
  "rgb": {
    "r": 183,
    "g": 66,
    "b": 113
  },
  "hsl": {
    "h": 335.897,
    "s": 46.988,
    "l": 48.824
  },
  "oklch": {
    "l": 0.55373,
    "c": 0.15725,
    "h": 358.7
  },
  "luminance": 0.15156
}

Semantic roles & 50–950 ramp

primary
#B74271
secondary
#8FC6B0
accent
#D7A151
background
#FDF7F9
surface
#FAEEF2
border
#D3C9CC
text
#150A0E
muted
#837C7E

Preview Lab

Preview with #B74271

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

Preview Lab → · Contrast checker → · Palette generator →

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