#B22D98#B22D98

#B22D98 is a mid, highly saturated pink. Relative luminance 0.136; OKLCH L 54.1% C 0.202 H 337.2°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#B22D98
RGBrgb(178, 45, 152)
HSLhsl(312, 60%, 44%)
HSVhsv(312, 75%, 70%)
CMYKcmyk(0%, 74.7%, 14.6%, 30.2%)
CIE-LABlab(43.67, 63.02, -28.71)
CIE-LCHlch(43.67, 69.25, 335.51°)
OKLaboklab(54.11% 0.1858 -0.0781)
OKLCHoklch(54.11% 0.202 337.2)
XYZxyz(24.9665, 13.6111, 31.0120)
Luminance0.1361 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22D98 #2DB247
analogous
#892DB2 #B22D98 #B22D55
triadic
#B22D98 #98B22D #2D98B2
tetradic
#B22D98 #B2892D #2DB247 #2D55B2
square
#B22D98 #B2892D #2DB247 #2D55B2
split-complementary
#B22D98 #55B22D #2DB289
monochromatic
#501445 #81216E #B22D98 #D14BB7 #DE7CCB

Accessibility & contrast

On white

5.64
#B22D98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#B22D98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22D98
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22D98#FFFFFF#000000##FFFFFF
##B22D981.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315A9B
Deuteranopia (green-blind)
#5F6E95
Tritanopia (blue-blind)
#BC355F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b22d98;
/* rgb */ color: rgb(178, 45, 152);
/* oklch */ color: oklch(54.1% 0.202 337.2);
Tailwind
colors: {
  custom: {
    50: '#cd74b6',
    500: '#b22d98',
    950: '#000000',
  },
}
SCSS
$custom: #b22d98;
$custom-light: #cd74b6;
$custom-dark: #000000;
JSON
{
  "hex": "#b22d98",
  "rgb": {
    "r": 178,
    "g": 45,
    "b": 152
  },
  "hsl": {
    "h": 311.729,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.5411,
    "c": 0.20158,
    "h": 337.2
  },
  "luminance": 0.13609
}

Semantic roles & 50–950 ramp

primary
#B22D98
secondary
#75C685
accent
#E36445
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B22D98

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

Preview Lab → · Contrast checker → · Palette generator →

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