#B277A2#B277A2

#B277A2 is a light, moderate pink. Relative luminance 0.253; OKLCH L 64.4% C 0.093 H 337.1°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#B277A2
RGBrgb(178, 119, 162)
HSLhsl(316, 28%, 58%)
HSVhsv(316, 33%, 70%)
CMYKcmyk(0%, 33.1%, 9%, 30.2%)
CIE-LABlab(57.34, 29.83, -13.62)
CIE-LCHlch(57.34, 32.79, 335.46°)
OKLaboklab(64.4% 0.086 -0.0363)
OKLCHoklch(64.4% 0.093 337.1)
XYZxyz(31.4783, 25.2687, 37.3947)
Luminance0.2527 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B277A2 #77B287
analogous
#A477B2 #B277A2 #B27784
triadic
#B277A2 #A2B277 #77A2B2
tetradic
#B277A2 #B2A477 #77B287 #7784B2
square
#B277A2 #B2A477 #77B287 #7784B2
split-complementary
#B277A2 #84B277 #77B2A4
monochromatic
#6F3F62 #975585 #B277A2 #C89EBD #DEC5D7

Accessibility & contrast

On white

3.47
#B277A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#B277A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B277A2
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B277A2#FFFFFF#000000##000000
##B277A21.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7884A4
Deuteranopia (green-blind)
#868DA0
Tritanopia (blue-blind)
#B87986
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #b277a2;
/* rgb */ color: rgb(178, 119, 162);
/* oklch */ color: oklch(64.4% 0.093 337.1);
Tailwind
colors: {
  custom: {
    50: '#ca9fbd',
    500: '#b277a2',
    950: '#000000',
  },
}
SCSS
$custom: #b277a2;
$custom-light: #ca9fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#b277a2",
  "rgb": {
    "r": 178,
    "g": 119,
    "b": 162
  },
  "hsl": {
    "h": 316.271,
    "s": 27.7,
    "l": 58.235
  },
  "oklch": {
    "l": 0.64396,
    "c": 0.09339,
    "h": 337.1
  },
  "luminance": 0.25267
}

Semantic roles & 50–950 ramp

primary
#B277A2
secondary
#B7CEBD
accent
#C47E64
background
#FCF9FB
surface
#F8F2F6
border
#D1CCD0
text
#130E12
muted
#827E81

Preview Lab

Preview with #B277A2

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

Preview Lab → · Contrast checker → · Palette generator →

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