#B22B5D#B22B5D

#B22B5D is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.6% C 0.174 H 3.5°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#B22B5D
RGBrgb(178, 43, 93)
HSLhsl(338, 61%, 43%)
HSVhsv(338, 76%, 70%)
CMYKcmyk(0%, 75.8%, 47.8%, 30.2%)
CIE-LABlab(41.19, 56.71, 3.93)
CIE-LCHlch(41.19, 56.85, 3.97°)
OKLaboklab(51.57% 0.1737 0.0107)
OKLCHoklch(51.57% 0.174 3.5)
XYZxyz(21.2015, 11.9859, 11.5509)
Luminance0.1198 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22B5D #2BB280
analogous
#B22BA0 #B22B5D #B23D2B
triadic
#B22B5D #5DB22B #2B5DB2
tetradic
#B22B5D #A0B22B #2BB280 #3D2BB2
square
#B22B5D #A0B22B #2BB280 #3D2BB2
split-complementary
#B22B5D #2BB23D #2BA0B2
monochromatic
#4F1329 #811F43 #B22B5D #D3487B #DF799F

Accessibility & contrast

On white

6.18
#B22B5D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#B22B5D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22B5D
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22B5D#FFFFFF#000000##FFFFFF
##B22B5D1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B505E
Deuteranopia (green-blind)
#6F6B5A
Tritanopia (blue-blind)
#C20C41
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b22b5d;
/* rgb */ color: rgb(178, 43, 93);
/* oklch */ color: oklch(51.6% 0.174 3.5);
Tailwind
colors: {
  custom: {
    50: '#cf718a',
    500: '#b22b5d',
    950: '#000000',
  },
}
SCSS
$custom: #b22b5d;
$custom-light: #cf718a;
$custom-dark: #000000;
JSON
{
  "hex": "#b22b5d",
  "rgb": {
    "r": 178,
    "g": 43,
    "b": 93
  },
  "hsl": {
    "h": 337.778,
    "s": 61.086,
    "l": 43.333
  },
  "oklch": {
    "l": 0.51571,
    "c": 0.17402,
    "h": 3.5
  },
  "luminance": 0.11983
}

Semantic roles & 50–950 ramp

primary
#B22B5D
secondary
#72C7A7
accent
#E4A944
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#15080B
muted
#837B7C

Preview Lab

Preview with #B22B5D

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

Preview Lab → · Contrast checker → · Palette generator →

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