#B22D5F#B22D5F

#B22D5F is a mid, vivid pink. Relative luminance 0.122; OKLCH L 51.8% C 0.172 H 2.8°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#B22D5F
RGBrgb(178, 45, 95)
HSLhsl(337, 60%, 44%)
HSVhsv(337, 75%, 70%)
CMYKcmyk(0%, 74.7%, 46.6%, 30.2%)
CIE-LABlab(41.49, 56.23, 3.10)
CIE-LCHlch(41.49, 56.32, 3.15°)
OKLaboklab(51.81% 0.1723 0.0086)
OKLCHoklch(51.81% 0.172 2.8)
XYZxyz(21.3658, 12.1708, 12.0484)
Luminance0.1217 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22D5F #2DB280
analogous
#B22DA1 #B22D5F #B23E2D
triadic
#B22D5F #5FB22D #2D5FB2
tetradic
#B22D5F #A1B22D #2DB280 #3E2DB2
square
#B22D5F #A1B22D #2DB280 #3E2DB2
split-complementary
#B22D5F #2DB23E #2DA1B2
monochromatic
#50142B #812145 #B22D5F #D14B7D #DE7CA1

Accessibility & contrast

On white

6.12
#B22D5F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#B22D5F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22D5F
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22D5F#FFFFFF#000000##FFFFFF
##B22D5F1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5160
Deuteranopia (green-blind)
#6F6B5C
Tritanopia (blue-blind)
#C21342
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b22d5f;
/* rgb */ color: rgb(178, 45, 95);
/* oklch */ color: oklch(51.8% 0.172 2.8);
Tailwind
colors: {
  custom: {
    50: '#cf728c',
    500: '#b22d5f',
    950: '#000000',
  },
}
SCSS
$custom: #b22d5f;
$custom-light: #cf728c;
$custom-dark: #000000;
JSON
{
  "hex": "#b22d5f",
  "rgb": {
    "r": 178,
    "g": 45,
    "b": 95
  },
  "hsl": {
    "h": 337.444,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.51805,
    "c": 0.17248,
    "h": 2.8
  },
  "luminance": 0.12168
}

Semantic roles & 50–950 ramp

primary
#B22D5F
secondary
#75C6A8
accent
#E3A745
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#15090C
muted
#837B7D

Preview Lab

Preview with #B22D5F

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

Preview Lab → · Contrast checker → · Palette generator →

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