#B22E6F#B22E6F

#B22E6F is a mid, vivid pink. Relative luminance 0.126; OKLCH L 52.4% C 0.177 H 355.1°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#B22E6F
RGBrgb(178, 46, 111)
HSLhsl(330, 59%, 44%)
HSVhsv(330, 74%, 70%)
CMYKcmyk(0%, 74.2%, 37.6%, 30.2%)
CIE-LABlab(42.11, 57.50, -5.99)
CIE-LCHlch(42.11, 57.81, 354.05°)
OKLaboklab(52.43% 0.1764 -0.0151)
OKLCHoklch(52.43% 0.177 355.1)
XYZxyz(22.2078, 12.5694, 16.2925)
Luminance0.1257 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22E6F #2EB271
analogous
#B22EB1 #B22E6F #B22F2E
triadic
#B22E6F #6FB22E #2E6FB2
tetradic
#B22E6F #B1B22E #2EB271 #2F2EB2
square
#B22E6F #B1B22E #2EB271 #2F2EB2
split-complementary
#B22E6F #2EB22F #2EB1B2
monochromatic
#511532 #812151 #B22E6F #D14C8E #DD7DAC

Accessibility & contrast

On white

5.98
#B22E6F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#B22E6F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22E6F
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22E6F#FFFFFF#000000##FFFFFF
##B22E6F1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485471
Deuteranopia (green-blind)
#6C6C6C
Tritanopia (blue-blind)
#C01F4A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b22e6f;
/* rgb */ color: rgb(178, 46, 111);
/* oklch */ color: oklch(52.4% 0.177 355.1);
Tailwind
colors: {
  custom: {
    50: '#ce7398',
    500: '#b22e6f',
    950: '#000000',
  },
}
SCSS
$custom: #b22e6f;
$custom-light: #ce7398;
$custom-dark: #000000;
JSON
{
  "hex": "#b22e6f",
  "rgb": {
    "r": 178,
    "g": 46,
    "b": 111
  },
  "hsl": {
    "h": 330.455,
    "s": 58.929,
    "l": 43.922
  },
  "oklch": {
    "l": 0.52425,
    "c": 0.17708,
    "h": 355.1
  },
  "luminance": 0.12567
}

Semantic roles & 50–950 ramp

primary
#B22E6F
secondary
#76C69F
accent
#E29546
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090D
muted
#837B7E

Preview Lab

Preview with #B22E6F

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

Preview Lab → · Contrast checker → · Palette generator →

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