#B22868#B22868

#B22868 is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.7% C 0.181 H 357.7°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#B22868
RGBrgb(178, 40, 104)
HSLhsl(332, 63%, 43%)
HSVhsv(332, 78%, 70%)
CMYKcmyk(0%, 77.5%, 41.6%, 30.2%)
CIE-LABlab(41.19, 58.70, -2.98)
CIE-LCHlch(41.19, 58.77, 357.09°)
OKLaboklab(51.68% 0.1804 -0.0071)
OKLCHoklch(51.68% 0.181 357.7)
XYZxyz(21.6192, 11.9848, 14.2689)
Luminance0.1198 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22868 #28B272
analogous
#B228AD #B22868 #B22D28
triadic
#B22868 #68B228 #2868B2
tetradic
#B22868 #ADB228 #28B272 #2D28B2
square
#B22868 #ADB228 #28B272 #2D28B2
split-complementary
#B22868 #28B22D #28ADB2
monochromatic
#4E122E #801D4B #B22868 #D54386 #E075A6

Accessibility & contrast

On white

6.18
#B22868 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#B22868 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22868
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22868#FFFFFF#000000##FFFFFF
##B228681.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46516A
Deuteranopia (green-blind)
#6C6A65
Tritanopia (blue-blind)
#C11045
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b22868;
/* rgb */ color: rgb(178, 40, 104);
/* oklch */ color: oklch(51.7% 0.181 357.7);
Tailwind
colors: {
  custom: {
    50: '#ce7093',
    500: '#b22868',
    950: '#000000',
  },
}
SCSS
$custom: #b22868;
$custom-light: #ce7093;
$custom-dark: #000000;
JSON
{
  "hex": "#b22868",
  "rgb": {
    "r": 178,
    "g": 40,
    "b": 104
  },
  "hsl": {
    "h": 332.174,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.51679,
    "c": 0.18057,
    "h": 357.7
  },
  "luminance": 0.11982
}

Semantic roles & 50–950 ramp

primary
#B22868
secondary
#6FC79E
accent
#E69A41
background
#FDF7F9
surface
#FAEDF1
border
#D3C8CB
text
#15080D
muted
#837B7E

Preview Lab

Preview with #B22868

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

Preview Lab → · Contrast checker → · Palette generator →

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