#B22766#B22766

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

Color values

HEX#B22766
RGBrgb(178, 39, 102)
HSLhsl(333, 64%, 43%)
HSVhsv(333, 78%, 70%)
CMYKcmyk(0%, 78.1%, 42.7%, 30.2%)
CIE-LABlab(41.02, 58.80, -1.98)
CIE-LCHlch(41.02, 58.83, 358.07°)
OKLaboklab(51.53% 0.1808 -0.0045)
OKLCHoklch(51.53% 0.181 358.6)
XYZxyz(21.4855, 11.8781, 13.7291)
Luminance0.1187 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22766 #27B273
analogous
#B227AB #B22766 #B22E27
triadic
#B22766 #66B227 #2766B2
tetradic
#B22766 #ABB227 #27B273 #2E27B2
square
#B22766 #ABB227 #27B273 #2E27B2
split-complementary
#B22766 #27B22E #27ABB2
monochromatic
#4E112C #801C49 #B22766 #D54184 #E073A5

Accessibility & contrast

On white

6.22
#B22766 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B22766
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22766#FFFFFF#000000##FFFFFF
##B227661.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b22766;
/* rgb */ color: rgb(178, 39, 102);
/* oklch */ color: oklch(51.5% 0.181 358.6);
Tailwind
colors: {
  custom: {
    50: '#ce7091',
    500: '#b22766',
    950: '#000000',
  },
}
SCSS
$custom: #b22766;
$custom-light: #ce7091;
$custom-dark: #000000;
JSON
{
  "hex": "#b22766",
  "rgb": {
    "r": 178,
    "g": 39,
    "b": 102
  },
  "hsl": {
    "h": 332.806,
    "s": 64.055,
    "l": 42.549
  },
  "oklch": {
    "l": 0.51533,
    "c": 0.18082,
    "h": 358.6
  },
  "luminance": 0.11875
}

Semantic roles & 50–950 ramp

primary
#B22766
secondary
#6DC89F
accent
#E79C41
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#15080C
muted
#837B7D

Preview Lab

Preview with #B22766

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

Preview Lab → · Contrast checker → · Palette generator →

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