#B22864#B22864

#B22864 is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.5% C 0.179 H 359.7°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#B22864
RGBrgb(178, 40, 100)
HSLhsl(334, 63%, 43%)
HSVhsv(334, 78%, 70%)
CMYKcmyk(0%, 77.5%, 43.8%, 30.2%)
CIE-LABlab(41.07, 58.30, -0.66)
CIE-LCHlch(41.07, 58.31, 359.36°)
OKLaboklab(51.54% 0.1791 -0.001)
OKLCHoklch(51.54% 0.179 359.7)
XYZxyz(21.4208, 11.9055, 13.2241)
Luminance0.1190 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22864 #28B276
analogous
#B228A9 #B22864 #B23128
triadic
#B22864 #64B228 #2864B2
tetradic
#B22864 #A9B228 #28B276 #3128B2
square
#B22864 #A9B228 #28B276 #3128B2
split-complementary
#B22864 #28B231 #28A9B2
monochromatic
#4E122C #801D48 #B22864 #D54382 #E075A3

Accessibility & contrast

On white

6.21
#B22864 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#B22864 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22864
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22864#FFFFFF#000000##FFFFFF
##B228641.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485065
Deuteranopia (green-blind)
#6D6A61
Tritanopia (blue-blind)
#C10C43
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b22864;
/* rgb */ color: rgb(178, 40, 100);
/* oklch */ color: oklch(51.5% 0.179 359.7);
Tailwind
colors: {
  custom: {
    50: '#ce7090',
    500: '#b22864',
    950: '#000000',
  },
}
SCSS
$custom: #b22864;
$custom-light: #ce7090;
$custom-dark: #000000;
JSON
{
  "hex": "#b22864",
  "rgb": {
    "r": 178,
    "g": 40,
    "b": 100
  },
  "hsl": {
    "h": 333.913,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.51545,
    "c": 0.17914,
    "h": 359.7
  },
  "luminance": 0.11903
}

Semantic roles & 50–950 ramp

primary
#B22864
secondary
#6FC7A1
accent
#E69F41
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#15080C
muted
#837B7D

Preview Lab

Preview with #B22864

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

Preview Lab → · Contrast checker → · Palette generator →

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