#B27EA2#B27EA2

#B27EA2 is a light, moderate pink. Relative luminance 0.270; OKLCH L 65.6% C 0.081 H 338.4°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#B27EA2
RGBrgb(178, 126, 162)
HSLhsl(318, 25%, 60%)
HSVhsv(318, 29%, 70%)
CMYKcmyk(0%, 29.2%, 9%, 30.2%)
CIE-LABlab(58.97, 25.92, -11.16)
CIE-LCHlch(58.97, 28.22, 336.71°)
OKLaboklab(65.64% 0.0748 -0.0296)
OKLCHoklch(65.64% 0.081 338.4)
XYZxyz(32.3423, 26.9967, 37.6827)
Luminance0.2700 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B27EA2 #7EB28E
analogous
#A87EB2 #B27EA2 #B27E88
triadic
#B27EA2 #A2B27E #7EA2B2
tetradic
#B27EA2 #B2A87E #7EB28E #7E88B2
square
#B27EA2 #B2A87E #7EB28E #7E88B2
split-complementary
#B27EA2 #88B27E #7EB2A8
monochromatic
#724464 #985B85 #B27EA2 #C9A4BE #E0CBD9

Accessibility & contrast

On white

3.28
#B27EA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#B27EA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B27EA2
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B27EA2#FFFFFF#000000##000000
##B27EA21.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F89A3
Deuteranopia (green-blind)
#8C91A0
Tritanopia (blue-blind)
#B87F8A
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b27ea2;
/* rgb */ color: rgb(178, 126, 162);
/* oklch */ color: oklch(65.6% 0.081 338.4);
Tailwind
colors: {
  custom: {
    50: '#c9a4bd',
    500: '#b27ea2',
    950: '#000000',
  },
}
SCSS
$custom: #b27ea2;
$custom-light: #c9a4bd;
$custom-dark: #000000;
JSON
{
  "hex": "#b27ea2",
  "rgb": {
    "r": 178,
    "g": 126,
    "b": 162
  },
  "hsl": {
    "h": 318.462,
    "s": 25.243,
    "l": 59.608
  },
  "oklch": {
    "l": 0.65643,
    "c": 0.0805,
    "h": 338.4
  },
  "luminance": 0.26995
}

Semantic roles & 50–950 ramp

primary
#B27EA2
secondary
#BCD0C2
accent
#C28266
background
#FCFAFB
surface
#F8F4F6
border
#D1CED0
text
#130F12
muted
#827F81

Preview Lab

Preview with #B27EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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