#B22768#B22768

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

Color values

HEX#B22768
RGBrgb(178, 39, 104)
HSLhsl(332, 64%, 43%)
HSVhsv(332, 78%, 70%)
CMYKcmyk(0%, 78.1%, 41.6%, 30.2%)
CIE-LABlab(41.09, 59.00, -3.14)
CIE-LCHlch(41.09, 59.08, 356.96°)
OKLaboklab(51.6% 0.1814 -0.0075)
OKLCHoklch(51.6% 0.182 357.6)
XYZxyz(21.5859, 11.9183, 14.2578)
Luminance0.1192 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22768 #27B271
analogous
#B227AE #B22768 #B22B27
triadic
#B22768 #68B227 #2768B2
tetradic
#B22768 #AEB227 #27B271 #2B27B2
square
#B22768 #AEB227 #27B271 #2B27B2
split-complementary
#B22768 #27B22B #27AEB2
monochromatic
#4E112D #801C4B #B22768 #D54186 #E073A6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B22768#FFFFFF#000000##FFFFFF
##B227681.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)
#46506A
Deuteranopia (green-blind)
#6C6A65
Tritanopia (blue-blind)
#C10E44
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b22768;
/* rgb */ color: rgb(178, 39, 104);
/* oklch */ color: oklch(51.6% 0.182 357.6);
Tailwind
colors: {
  custom: {
    50: '#ce7093',
    500: '#b22768',
    950: '#000000',
  },
}
SCSS
$custom: #b22768;
$custom-light: #ce7093;
$custom-dark: #000000;
JSON
{
  "hex": "#b22768",
  "rgb": {
    "r": 178,
    "g": 39,
    "b": 104
  },
  "hsl": {
    "h": 331.942,
    "s": 64.055,
    "l": 42.549
  },
  "oklch": {
    "l": 0.51601,
    "c": 0.18154,
    "h": 357.6
  },
  "luminance": 0.11915
}

Semantic roles & 50–950 ramp

primary
#B22768
secondary
#6DC89D
accent
#E79941
background
#FDF7F9
surface
#FAEDF1
border
#D3C8CB
text
#15080D
muted
#837B7E

Preview Lab

Preview with #B22768

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

Preview Lab → · Contrast checker → · Palette generator →

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