#B22E6C#B22E6C

#B22E6C is a mid, vivid pink. Relative luminance 0.125; OKLCH L 52.3% C 0.176 H 356.6°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#B22E6C
RGBrgb(178, 46, 108)
HSLhsl(332, 59%, 44%)
HSVhsv(332, 74%, 70%)
CMYKcmyk(0%, 74.2%, 39.3%, 30.2%)
CIE-LABlab(42.01, 57.18, -4.28)
CIE-LCHlch(42.01, 57.34, 355.72°)
OKLaboklab(52.32% 0.1755 -0.0105)
OKLCHoklch(52.32% 0.176 356.6)
XYZxyz(22.0454, 12.5044, 15.4371)
Luminance0.1250 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22E6C #2EB274
analogous
#B22EAE #B22E6C #B2322E
triadic
#B22E6C #6CB22E #2E6CB2
tetradic
#B22E6C #AEB22E #2EB274 #322EB2
square
#B22E6C #AEB22E #2EB274 #322EB2
split-complementary
#B22E6C #2EB232 #2EAEB2
monochromatic
#511531 #81214E #B22E6C #D14C8B #DD7DAA

Accessibility & contrast

On white

6.00
#B22E6C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#B22E6C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22E6C
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22E6C#FFFFFF#000000##FFFFFF
##B22E6C1.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49536E
Deuteranopia (green-blind)
#6D6C69
Tritanopia (blue-blind)
#C01E49
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b22e6c;
/* rgb */ color: rgb(178, 46, 108);
/* oklch */ color: oklch(52.3% 0.176 356.6);
Tailwind
colors: {
  custom: {
    50: '#ce7396',
    500: '#b22e6c',
    950: '#000000',
  },
}
SCSS
$custom: #b22e6c;
$custom-light: #ce7396;
$custom-dark: #000000;
JSON
{
  "hex": "#b22e6c",
  "rgb": {
    "r": 178,
    "g": 46,
    "b": 108
  },
  "hsl": {
    "h": 331.818,
    "s": 58.929,
    "l": 43.922
  },
  "oklch": {
    "l": 0.52319,
    "c": 0.17584,
    "h": 356.6
  },
  "luminance": 0.12502
}

Semantic roles & 50–950 ramp

primary
#B22E6C
secondary
#76C6A0
accent
#E29946
background
#FDF7F9
surface
#FAEDF1
border
#D3C8CB
text
#14090D
muted
#837B7E

Preview Lab

Preview with #B22E6C

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

Preview Lab → · Contrast checker → · Palette generator →

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