#BB5274#BB5274

#BB5274 is a mid, vivid pink. Relative luminance 0.179; OKLCH L 58.1% C 0.139 H 2.1°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#BB5274
RGBrgb(187, 82, 116)
HSLhsl(341, 44%, 53%)
HSVhsv(341, 56%, 73%)
CMYKcmyk(0%, 56.1%, 38%, 26.7%)
CIE-LABlab(49.33, 45.72, 1.74)
CIE-LCHlch(49.33, 45.76, 2.18°)
OKLaboklab(58.12% 0.1393 0.0051)
OKLCHoklch(58.12% 0.139 2.1)
XYZxyz(26.6647, 17.8631, 18.5633)
Luminance0.1786 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5274 #52BB99
analogous
#BB52A9 #BB5274 #BB6452
triadic
#BB5274 #74BB52 #5274BB
tetradic
#BB5274 #A9BB52 #52BB99 #6452BB
square
#BB5274 #A9BB52 #52BB99 #6452BB
split-complementary
#BB5274 #52BB64 #52A9BB
monochromatic
#69293E #953B58 #BB5274 #CC7E97 #DEAABB

Accessibility & contrast

On white

4.59
#BB5274 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#BB5274 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BB5274
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5274#FFFFFF#000000##FFFFFF
##BB52741.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#646975
Deuteranopia (green-blind)
#807D72
Tritanopia (blue-blind)
#C9485F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #bb5274;
/* rgb */ color: rgb(187, 82, 116);
/* oklch */ color: oklch(58.1% 0.139 2.1);
Tailwind
colors: {
  custom: {
    50: '#d3879b',
    500: '#bb5274',
    950: '#000000',
  },
}
SCSS
$custom: #bb5274;
$custom-light: #d3879b;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5274",
  "rgb": {
    "r": 187,
    "g": 82,
    "b": 116
  },
  "hsl": {
    "h": 340.571,
    "s": 43.568,
    "l": 52.745
  },
  "oklch": {
    "l": 0.58121,
    "c": 0.13936,
    "h": 2.1
  },
  "luminance": 0.1786
}

Semantic roles & 50–950 ramp

primary
#BB5274
secondary
#9ECBBC
accent
#D3AA54
background
#FDF8F9
surface
#FAF0F2
border
#D3CBCC
text
#150B0E
muted
#837C7E

Preview Lab

Preview with #BB5274

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

Preview Lab → · Contrast checker → · Palette generator →

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