#B0277B#B0277B

#B0277B is a mid, vivid pink. Relative luminance 0.121; OKLCH L 52.0% C 0.189 H 348.3°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#B0277B
RGBrgb(176, 39, 123)
HSLhsl(323, 64%, 42%)
HSVhsv(323, 78%, 69%)
CMYKcmyk(0%, 77.8%, 30.1%, 31%)
CIE-LABlab(41.40, 60.55, -14.55)
CIE-LCHlch(41.40, 62.28, 346.49°)
OKLaboklab(51.98% 0.1849 -0.0382)
OKLCHoklch(51.98% 0.189 348.3)
XYZxyz(22.2063, 12.1138, 19.9038)
Luminance0.1211 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0277B #27B05C
analogous
#A127B0 #B0277B #B02736
triadic
#B0277B #7BB027 #277BB0
tetradic
#B0277B #B0A127 #27B05C #2736B0
square
#B0277B #B0A127 #27B05C #2736B0
split-complementary
#B0277B #36B027 #27B0A1
monochromatic
#4C1135 #7E1C58 #B0277B #D5409B #E072B5

Accessibility & contrast

On white

6.14
#B0277B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B0277B
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0277B#FFFFFF#000000##FFFFFF
##B0277B1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D527D
Deuteranopia (green-blind)
#666A78
Tritanopia (blue-blind)
#BD204E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b0277b;
/* rgb */ color: rgb(176, 39, 123);
/* oklch */ color: oklch(52.0% 0.189 348.3);
Tailwind
colors: {
  custom: {
    50: '#cc70a1',
    500: '#b0277b',
    950: '#000000',
  },
}
SCSS
$custom: #b0277b;
$custom-light: #cc70a1;
$custom-dark: #000000;
JSON
{
  "hex": "#b0277b",
  "rgb": {
    "r": 176,
    "g": 39,
    "b": 123
  },
  "hsl": {
    "h": 323.212,
    "s": 63.721,
    "l": 42.157
  },
  "oklch": {
    "l": 0.51983,
    "c": 0.18878,
    "h": 348.3
  },
  "luminance": 0.12111
}

Semantic roles & 50–950 ramp

primary
#B0277B
secondary
#6CC78F
accent
#E78141
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14080F
muted
#837B7E

Preview Lab

Preview with #B0277B

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

Preview Lab → · Contrast checker → · Palette generator →

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