#B22962#B22962

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

Color values

HEX#B22962
RGBrgb(178, 41, 98)
HSLhsl(335, 63%, 43%)
HSVhsv(335, 77%, 70%)
CMYKcmyk(0%, 77%, 44.9%, 30.2%)
CIE-LABlab(41.11, 57.81, 0.67)
CIE-LCHlch(41.11, 57.81, 0.66°)
OKLaboklab(51.56% 0.1775 0.0024)
OKLCHoklch(51.56% 0.178 0.8)
XYZxyz(21.3593, 11.9355, 12.7319)
Luminance0.1193 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22962 #29B279
analogous
#B229A7 #B22962 #B23429
triadic
#B22962 #62B229 #2962B2
tetradic
#B22962 #A7B229 #29B279 #3429B2
square
#B22962 #A7B229 #29B279 #3429B2
split-complementary
#B22962 #29B234 #29A7B2
monochromatic
#4F122B #801E47 #B22962 #D44480 #DF76A2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B22962#FFFFFF#000000##FFFFFF
##B229621.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)
#495063
Deuteranopia (green-blind)
#6E6A5F
Tritanopia (blue-blind)
#C10C42
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b22962;
/* rgb */ color: rgb(178, 41, 98);
/* oklch */ color: oklch(51.6% 0.177 0.8);
Tailwind
colors: {
  custom: {
    50: '#cf708e',
    500: '#b22962',
    950: '#000000',
  },
}
SCSS
$custom: #b22962;
$custom-light: #cf708e;
$custom-dark: #000000;
JSON
{
  "hex": "#b22962",
  "rgb": {
    "r": 178,
    "g": 41,
    "b": 98
  },
  "hsl": {
    "h": 335.036,
    "s": 62.557,
    "l": 42.941
  },
  "oklch": {
    "l": 0.5156,
    "c": 0.1775,
    "h": 0.8
  },
  "luminance": 0.11933
}

Semantic roles & 50–950 ramp

primary
#B22962
secondary
#70C7A3
accent
#E6A242
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#15080C
muted
#837B7D

Preview Lab

Preview with #B22962

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

Preview Lab → · Contrast checker → · Palette generator →

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