#B22770#B22770

#B22770 is a mid, vivid pink. Relative luminance 0.121; OKLCH L 51.9% C 0.185 H 353.9°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#B22770
RGBrgb(178, 39, 112)
HSLhsl(328, 64%, 43%)
HSVhsv(328, 78%, 70%)
CMYKcmyk(0%, 78.1%, 37.1%, 30.2%)
CIE-LABlab(41.36, 59.82, -7.74)
CIE-LCHlch(41.36, 60.32, 352.63°)
OKLaboklab(51.89% 0.1838 -0.0197)
OKLCHoklch(51.89% 0.185 353.9)
XYZxyz(22.0117, 12.0886, 16.5003)
Luminance0.1209 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22770 #27B269
analogous
#AE27B2 #B22770 #B2272B
triadic
#B22770 #70B227 #2770B2
tetradic
#B22770 #B2AE27 #27B269 #272BB2
square
#B22770 #B2AE27 #27B269 #272BB2
split-complementary
#B22770 #2BB227 #27B2AE
monochromatic
#4E1131 #801C50 #B22770 #D5418F #E073AC

Accessibility & contrast

On white

6.15
#B22770 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#B22770 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22770
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22770#FFFFFF#000000##FFFFFF
##B227701.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435172
Deuteranopia (green-blind)
#6A6B6D
Tritanopia (blue-blind)
#C01648
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b22770;
/* rgb */ color: rgb(178, 39, 112);
/* oklch */ color: oklch(51.9% 0.185 353.9);
Tailwind
colors: {
  custom: {
    50: '#ce7099',
    500: '#b22770',
    950: '#000000',
  },
}
SCSS
$custom: #b22770;
$custom-light: #ce7099;
$custom-dark: #000000;
JSON
{
  "hex": "#b22770",
  "rgb": {
    "r": 178,
    "g": 39,
    "b": 112
  },
  "hsl": {
    "h": 328.489,
    "s": 64.055,
    "l": 42.549
  },
  "oklch": {
    "l": 0.51888,
    "c": 0.18483,
    "h": 353.9
  },
  "luminance": 0.12086
}

Semantic roles & 50–950 ramp

primary
#B22770
secondary
#6DC898
accent
#E79041
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14080D
muted
#837B7E

Preview Lab

Preview with #B22770

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

Preview Lab → · Contrast checker → · Palette generator →

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