#B22866#B22866

#B22866 is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.6% C 0.180 H 358.7°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#B22866
RGBrgb(178, 40, 102)
HSLhsl(333, 63%, 43%)
HSVhsv(333, 78%, 70%)
CMYKcmyk(0%, 77.5%, 42.7%, 30.2%)
CIE-LABlab(41.13, 58.50, -1.82)
CIE-LCHlch(41.13, 58.53, 358.22°)
OKLaboklab(51.61% 0.1798 -0.0041)
OKLCHoklch(51.61% 0.18 358.7)
XYZxyz(21.5188, 11.9447, 13.7402)
Luminance0.1194 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22866 #28B274
analogous
#B228AB #B22866 #B22F28
triadic
#B22866 #66B228 #2866B2
tetradic
#B22866 #ABB228 #28B274 #2F28B2
square
#B22866 #ABB228 #28B274 #2F28B2
split-complementary
#B22866 #28B22F #28ABB2
monochromatic
#4E122D #801D49 #B22866 #D54384 #E075A5

Accessibility & contrast

On white

6.20
#B22866 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#B22866 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22866
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22866#FFFFFF#000000##FFFFFF
##B228661.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475067
Deuteranopia (green-blind)
#6D6A63
Tritanopia (blue-blind)
#C10E44
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b22866;
/* rgb */ color: rgb(178, 40, 102);
/* oklch */ color: oklch(51.6% 0.180 358.7);
Tailwind
colors: {
  custom: {
    50: '#ce7091',
    500: '#b22866',
    950: '#000000',
  },
}
SCSS
$custom: #b22866;
$custom-light: #ce7091;
$custom-dark: #000000;
JSON
{
  "hex": "#b22866",
  "rgb": {
    "r": 178,
    "g": 40,
    "b": 102
  },
  "hsl": {
    "h": 333.043,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.51611,
    "c": 0.17984,
    "h": 358.7
  },
  "luminance": 0.11942
}

Semantic roles & 50–950 ramp

primary
#B22866
secondary
#6FC79F
accent
#E69C41
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#15080C
muted
#837B7D

Preview Lab

Preview with #B22866

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

Preview Lab → · Contrast checker → · Palette generator →

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