#B2289D#B2289D

#B2289D is a mid, highly saturated purple. Relative luminance 0.134; OKLCH L 54.0% C 0.210 H 335.3°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#B2289D
RGBrgb(178, 40, 157)
HSLhsl(309, 63%, 43%)
HSVhsv(309, 78%, 70%)
CMYKcmyk(0%, 77.5%, 11.8%, 30.2%)
CIE-LABlab(43.39, 65.25, -32.16)
CIE-LCHlch(43.39, 72.74, 333.76°)
OKLaboklab(53.99% 0.1908 -0.0879)
OKLCHoklch(53.99% 0.21 335.3)
XYZxyz(25.2050, 13.4192, 33.1545)
Luminance0.1342 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2289D #28B23D
analogous
#8228B2 #B2289D #B22858
triadic
#B2289D #9DB228 #289DB2
tetradic
#B2289D #B28228 #28B23D #2858B2
square
#B2289D #B28228 #28B23D #2858B2
split-complementary
#B2289D #58B228 #28B282
monochromatic
#4E1245 #801D71 #B2289D #D543BE #E075D0

Accessibility & contrast

On white

5.70
#B2289D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B2289D
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2289D#FFFFFF#000000##FFFFFF
##B2289D1.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285AA0
Deuteranopia (green-blind)
#5B6E9A
Tritanopia (blue-blind)
#BB3461
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b2289d;
/* rgb */ color: rgb(178, 40, 157);
/* oklch */ color: oklch(54.0% 0.210 335.3);
Tailwind
colors: {
  custom: {
    50: '#cd72ba',
    500: '#b2289d',
    950: '#000000',
  },
}
SCSS
$custom: #b2289d;
$custom-light: #cd72ba;
$custom-dark: #000000;
JSON
{
  "hex": "#b2289d",
  "rgb": {
    "r": 178,
    "g": 40,
    "b": 157
  },
  "hsl": {
    "h": 309.13,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.53987,
    "c": 0.21005,
    "h": 335.3
  },
  "luminance": 0.13417
}

Semantic roles & 50–950 ramp

primary
#B2289D
secondary
#6FC77C
accent
#E65B41
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B2289D

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

Preview Lab → · Contrast checker → · Palette generator →

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