#B2279A#B2279A

#B2279A is a mid, highly saturated pink. Relative luminance 0.132; OKLCH L 53.8% C 0.209 H 336.3°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#B2279A
RGBrgb(178, 39, 154)
HSLhsl(310, 64%, 43%)
HSVhsv(310, 78%, 70%)
CMYKcmyk(0%, 78.1%, 13.5%, 30.2%)
CIE-LABlab(43.14, 65.10, -30.74)
CIE-LCHlch(43.14, 71.99, 334.72°)
OKLaboklab(53.76% 0.1914 -0.0839)
OKLCHoklch(53.76% 0.209 336.3)
XYZxyz(24.9188, 13.2515, 31.8110)
Luminance0.1325 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2279A #27B23F
analogous
#8527B2 #B2279A #B22754
triadic
#B2279A #9AB227 #279AB2
tetradic
#B2279A #B28527 #27B23F #2754B2
square
#B2279A #B28527 #27B23F #2754B2
split-complementary
#B2279A #54B227 #27B285
monochromatic
#4E1143 #801C6F #B2279A #D541BC #E073CD

Accessibility & contrast

On white

5.75
#B2279A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#B2279A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B2279A
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2279A#FFFFFF#000000##FFFFFF
##B2279A1.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A599D
Deuteranopia (green-blind)
#5C6D97
Tritanopia (blue-blind)
#BB325F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b2279a;
/* rgb */ color: rgb(178, 39, 154);
/* oklch */ color: oklch(53.8% 0.209 336.3);
Tailwind
colors: {
  custom: {
    50: '#cd71b8',
    500: '#b2279a',
    950: '#000000',
  },
}
SCSS
$custom: #b2279a;
$custom-light: #cd71b8;
$custom-dark: #000000;
JSON
{
  "hex": "#b2279a",
  "rgb": {
    "r": 178,
    "g": 39,
    "b": 154
  },
  "hsl": {
    "h": 310.36,
    "s": 64.055,
    "l": 42.549
  },
  "oklch": {
    "l": 0.5376,
    "c": 0.20896,
    "h": 336.3
  },
  "luminance": 0.13249
}

Semantic roles & 50–950 ramp

primary
#B2279A
secondary
#6DC87D
accent
#E75D41
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B2279A

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

Preview Lab → · Contrast checker → · Palette generator →

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