#B2289C#B2289C

#B2289C is a mid, highly saturated purple. Relative luminance 0.134; OKLCH L 53.9% C 0.209 H 335.6°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#B2289C
RGBrgb(178, 40, 156)
HSLhsl(310, 63%, 43%)
HSVhsv(310, 78%, 70%)
CMYKcmyk(0%, 77.5%, 12.4%, 30.2%)
CIE-LABlab(43.34, 65.10, -31.64)
CIE-LCHlch(43.34, 72.38, 334.08°)
OKLaboklab(53.94% 0.1907 -0.0864)
OKLCHoklch(53.94% 0.209 335.6)
XYZxyz(25.1200, 13.3852, 32.7067)
Luminance0.1338 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2289C #28B23E
analogous
#8328B2 #B2289C #B22857
triadic
#B2289C #9CB228 #289CB2
tetradic
#B2289C #B28328 #28B23E #2857B2
square
#B2289C #B28328 #28B23E #2857B2
split-complementary
#B2289C #57B228 #28B283
monochromatic
#4E1244 #801D70 #B2289C #D543BD #E075CF

Accessibility & contrast

On white

5.71
#B2289C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#B2289C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B2289C
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2289C#FFFFFF#000000##FFFFFF
##B2289C1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29599F
Deuteranopia (green-blind)
#5C6E99
Tritanopia (blue-blind)
#BB3460
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b2289c;
/* rgb */ color: rgb(178, 40, 156);
/* oklch */ color: oklch(53.9% 0.209 335.6);
Tailwind
colors: {
  custom: {
    50: '#cd72b9',
    500: '#b2289c',
    950: '#000000',
  },
}
SCSS
$custom: #b2289c;
$custom-light: #cd72b9;
$custom-dark: #000000;
JSON
{
  "hex": "#b2289c",
  "rgb": {
    "r": 178,
    "g": 40,
    "b": 156
  },
  "hsl": {
    "h": 309.565,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.53935,
    "c": 0.20936,
    "h": 335.6
  },
  "luminance": 0.13383
}

Semantic roles & 50–950 ramp

primary
#B2289C
secondary
#6FC77D
accent
#E65C41
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B2289C

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

Preview Lab → · Contrast checker → · Palette generator →

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