#B22D8D#B22D8D

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

Color values

HEX#B22D8D
RGBrgb(178, 45, 141)
HSLhsl(317, 60%, 44%)
HSVhsv(317, 75%, 70%)
CMYKcmyk(0%, 74.7%, 20.8%, 30.2%)
CIE-LABlab(43.16, 61.48, -22.84)
CIE-LCHlch(43.16, 65.59, 339.62°)
OKLaboklab(53.58% 0.1844 -0.0614)
OKLCHoklch(53.58% 0.194 341.6)
XYZxyz(24.1070, 13.2673, 26.4854)
Luminance0.1326 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22D8D #2DB252
analogous
#942DB2 #B22D8D #B22D4A
triadic
#B22D8D #8DB22D #2D8DB2
tetradic
#B22D8D #B2942D #2DB252 #2D4AB2
square
#B22D8D #B2942D #2DB252 #2D4AB2
split-complementary
#B22D8D #4AB22D #2DB294
monochromatic
#501440 #812166 #B22D8D #D14BAC #DE7CC2

Accessibility & contrast

On white

5.75
#B22D8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#B22D8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22D8D
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22D8D#FFFFFF#000000##FFFFFF
##B22D8D1.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395890
Deuteranopia (green-blind)
#636E8A
Tritanopia (blue-blind)
#BD2F5A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b22d8d;
/* rgb */ color: rgb(178, 45, 141);
/* oklch */ color: oklch(53.6% 0.194 341.6);
Tailwind
colors: {
  custom: {
    50: '#cd73ae',
    500: '#b22d8d',
    950: '#000000',
  },
}
SCSS
$custom: #b22d8d;
$custom-light: #cd73ae;
$custom-dark: #000000;
JSON
{
  "hex": "#b22d8d",
  "rgb": {
    "r": 178,
    "g": 45,
    "b": 141
  },
  "hsl": {
    "h": 316.692,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.53579,
    "c": 0.19435,
    "h": 341.6
  },
  "luminance": 0.13265
}

Semantic roles & 50–950 ramp

primary
#B22D8D
secondary
#75C68B
accent
#E37145
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B22D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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