#B22774#B22774

#B22774 is a mid, vivid pink. Relative luminance 0.122; OKLCH L 52.0% C 0.187 H 352.0°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#B22774
RGBrgb(178, 39, 116)
HSLhsl(327, 64%, 43%)
HSVhsv(327, 78%, 70%)
CMYKcmyk(0%, 78.1%, 34.8%, 30.2%)
CIE-LABlab(41.50, 60.26, -10.01)
CIE-LCHlch(41.50, 61.08, 350.57°)
OKLaboklab(52.04% 0.1849 -0.0258)
OKLCHoklch(52.04% 0.187 352)
XYZxyz(22.2394, 12.1797, 17.6994)
Luminance0.1218 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22774 #27B265
analogous
#AB27B2 #B22774 #B2272E
triadic
#B22774 #74B227 #2774B2
tetradic
#B22774 #B2AB27 #27B265 #272EB2
square
#B22774 #B2AB27 #27B265 #272EB2
split-complementary
#B22774 #2EB227 #27B2AB
monochromatic
#4E1133 #801C53 #B22774 #D54193 #E073B0

Accessibility & contrast

On white

6.11
#B22774 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#B22774 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22774
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22774#FFFFFF#000000##FFFFFF
##B227741.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415276
Deuteranopia (green-blind)
#696B71
Tritanopia (blue-blind)
#C0194A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b22774;
/* rgb */ color: rgb(178, 39, 116);
/* oklch */ color: oklch(52.0% 0.187 352.0);
Tailwind
colors: {
  custom: {
    50: '#ce709c',
    500: '#b22774',
    950: '#000000',
  },
}
SCSS
$custom: #b22774;
$custom-light: #ce709c;
$custom-dark: #000000;
JSON
{
  "hex": "#b22774",
  "rgb": {
    "r": 178,
    "g": 39,
    "b": 116
  },
  "hsl": {
    "h": 326.763,
    "s": 64.055,
    "l": 42.549
  },
  "oklch": {
    "l": 0.52039,
    "c": 0.18667,
    "h": 352
  },
  "luminance": 0.12177
}

Semantic roles & 50–950 ramp

primary
#B22774
secondary
#6DC896
accent
#E78B41
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14080E
muted
#837B7E

Preview Lab

Preview with #B22774

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

Preview Lab → · Contrast checker → · Palette generator →

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