#B22E8D#B22E8D

#B22E8D is a mid, vivid pink. Relative luminance 0.133; OKLCH L 53.7% C 0.193 H 341.6°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#B22E8D
RGBrgb(178, 46, 141)
HSLhsl(317, 59%, 44%)
HSVhsv(317, 74%, 70%)
CMYKcmyk(0%, 74.2%, 20.8%, 30.2%)
CIE-LABlab(43.28, 61.16, -22.66)
CIE-LCHlch(43.28, 65.22, 339.67°)
OKLaboklab(53.66% 0.1834 -0.0609)
OKLCHoklch(53.66% 0.193 341.6)
XYZxyz(24.1456, 13.3445, 26.4983)
Luminance0.1334 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22E8D #2EB253
analogous
#952EB2 #B22E8D #B22E4B
triadic
#B22E8D #8DB22E #2E8DB2
tetradic
#B22E8D #B2952E #2EB253 #2E4BB2
square
#B22E8D #B2952E #2EB253 #2E4BB2
split-complementary
#B22E8D #4BB22E #2EB295
monochromatic
#511540 #812166 #B22E8D #D14CAC #DD7DC2

Accessibility & contrast

On white

5.72
#B22E8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#B22E8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22E8D
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22E8D#FFFFFF#000000##FFFFFF
##B22E8D1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5990
Deuteranopia (green-blind)
#646E8A
Tritanopia (blue-blind)
#BD305A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b22e8d;
/* rgb */ color: rgb(178, 46, 141);
/* oklch */ color: oklch(53.7% 0.193 341.6);
Tailwind
colors: {
  custom: {
    50: '#cd74ae',
    500: '#b22e8d',
    950: '#000000',
  },
}
SCSS
$custom: #b22e8d;
$custom-light: #cd74ae;
$custom-dark: #000000;
JSON
{
  "hex": "#b22e8d",
  "rgb": {
    "r": 178,
    "g": 46,
    "b": 141
  },
  "hsl": {
    "h": 316.818,
    "s": 58.929,
    "l": 43.922
  },
  "oklch": {
    "l": 0.53662,
    "c": 0.19326,
    "h": 341.6
  },
  "luminance": 0.13342
}

Semantic roles & 50–950 ramp

primary
#B22E8D
secondary
#76C68C
accent
#E27246
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B22E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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