#B22F5C#B22F5C

#B22F5C is a mid, vivid pink. Relative luminance 0.123; OKLCH L 51.9% C 0.170 H 4.7°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#B22F5C
RGBrgb(178, 47, 92)
HSLhsl(339, 58%, 44%)
HSVhsv(339, 74%, 70%)
CMYKcmyk(0%, 73.6%, 48.3%, 30.2%)
CIE-LABlab(41.65, 55.27, 5.21)
CIE-LCHlch(41.65, 55.52, 5.39°)
OKLaboklab(51.9% 0.169 0.0139)
OKLCHoklch(51.9% 0.17 4.7)
XYZxyz(21.3102, 12.2736, 11.3700)
Luminance0.1227 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22F5C #2FB285
analogous
#B22F9E #B22F5C #B2442F
triadic
#B22F5C #5CB22F #2F5CB2
tetradic
#B22F5C #9EB22F #2FB285 #442FB2
square
#B22F5C #9EB22F #2FB285 #442FB2
split-complementary
#B22F5C #2FB244 #2F9EB2
monochromatic
#51152A #822243 #B22F5C #D04E7B #DD7E9F

Accessibility & contrast

On white

6.08
#B22F5C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#B22F5C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22F5C
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22F5C#FFFFFF#000000##FFFFFF
##B22F5C1.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E525D
Deuteranopia (green-blind)
#716C59
Tritanopia (blue-blind)
#C21542
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b22f5c;
/* rgb */ color: rgb(178, 47, 92);
/* oklch */ color: oklch(51.9% 0.170 4.7);
Tailwind
colors: {
  custom: {
    50: '#cf7389',
    500: '#b22f5c',
    950: '#000000',
  },
}
SCSS
$custom: #b22f5c;
$custom-light: #cf7389;
$custom-dark: #000000;
JSON
{
  "hex": "#b22f5c",
  "rgb": {
    "r": 178,
    "g": 47,
    "b": 92
  },
  "hsl": {
    "h": 339.389,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.51897,
    "c": 0.16956,
    "h": 4.7
  },
  "luminance": 0.12271
}

Semantic roles & 50–950 ramp

primary
#B22F5C
secondary
#77C6AB
accent
#E1AC46
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#15090B
muted
#837B7C

Preview Lab

Preview with #B22F5C

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

Preview Lab → · Contrast checker → · Palette generator →

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