#B22861#B22861

#B22861 is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.4% C 0.178 H 1.1°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#B22861
RGBrgb(178, 40, 97)
HSLhsl(335, 63%, 43%)
HSVhsv(335, 78%, 70%)
CMYKcmyk(0%, 77.5%, 45.5%, 30.2%)
CIE-LABlab(40.97, 58.02, 1.10)
CIE-LCHlch(40.97, 58.03, 1.08°)
OKLaboklab(51.45% 0.1781 0.0035)
OKLCHoklch(51.45% 0.178 1.1)
XYZxyz(21.2783, 11.8485, 12.4734)
Luminance0.1185 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22861 #28B279
analogous
#B228A6 #B22861 #B23428
triadic
#B22861 #61B228 #2861B2
tetradic
#B22861 #A6B228 #28B279 #3428B2
square
#B22861 #A6B228 #28B279 #3428B2
split-complementary
#B22861 #28B234 #28A6B2
monochromatic
#4E122B #801D46 #B22861 #D5437F #E075A1

Accessibility & contrast

On white

6.23
#B22861 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#B22861 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22861
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22861#FFFFFF#000000##FFFFFF
##B228611.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485062
Deuteranopia (green-blind)
#6E6A5E
Tritanopia (blue-blind)
#C10841
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b22861;
/* rgb */ color: rgb(178, 40, 97);
/* oklch */ color: oklch(51.4% 0.178 1.1);
Tailwind
colors: {
  custom: {
    50: '#cf708d',
    500: '#b22861',
    950: '#000000',
  },
}
SCSS
$custom: #b22861;
$custom-light: #cf708d;
$custom-dark: #000000;
JSON
{
  "hex": "#b22861",
  "rgb": {
    "r": 178,
    "g": 40,
    "b": 97
  },
  "hsl": {
    "h": 335.217,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.51448,
    "c": 0.17816,
    "h": 1.1
  },
  "luminance": 0.11846
}

Semantic roles & 50–950 ramp

primary
#B22861
secondary
#6FC7A3
accent
#E6A241
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#15080C
muted
#837B7D

Preview Lab

Preview with #B22861

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

Preview Lab → · Contrast checker → · Palette generator →

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