#B22F7E#B22F7E

#B22F7E is a mid, vivid pink. Relative luminance 0.130; OKLCH L 53.1% C 0.183 H 348.2°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#B22F7E
RGBrgb(178, 47, 126)
HSLhsl(324, 58%, 44%)
HSVhsv(324, 74%, 70%)
CMYKcmyk(0%, 73.6%, 29.2%, 30.2%)
CIE-LABlab(42.77, 58.89, -14.27)
CIE-LCHlch(42.77, 60.59, 346.38°)
OKLaboklab(53.09% 0.1794 -0.0375)
OKLCHoklch(53.09% 0.183 348.2)
XYZxyz(23.1436, 13.0070, 21.0264)
Luminance0.1300 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22F7E #2FB263
analogous
#A52FB2 #B22F7E #B22F3D
triadic
#B22F7E #7EB22F #2F7EB2
tetradic
#B22F7E #B2A52F #2FB263 #2F3DB2
square
#B22F7E #B2A52F #2FB263 #2F3DB2
split-complementary
#B22F7E #3DB22F #2FB2A5
monochromatic
#511539 #82225C #B22F7E #D04E9D #DD7EB7

Accessibility & contrast

On white

5.83
#B22F7E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#B22F7E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22F7E
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22F7E#FFFFFF#000000##FFFFFF
##B22F7E1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425680
Deuteranopia (green-blind)
#696D7B
Tritanopia (blue-blind)
#BF2952
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b22f7e;
/* rgb */ color: rgb(178, 47, 126);
/* oklch */ color: oklch(53.1% 0.183 348.2);
Tailwind
colors: {
  custom: {
    50: '#cd74a3',
    500: '#b22f7e',
    950: '#000000',
  },
}
SCSS
$custom: #b22f7e;
$custom-light: #cd74a3;
$custom-dark: #000000;
JSON
{
  "hex": "#b22f7e",
  "rgb": {
    "r": 178,
    "g": 47,
    "b": 126
  },
  "hsl": {
    "h": 323.817,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.53092,
    "c": 0.18327,
    "h": 348.2
  },
  "luminance": 0.13004
}

Semantic roles & 50–950 ramp

primary
#B22F7E
secondary
#77C696
accent
#E18446
background
#FDF7FA
surface
#FAEDF3
border
#D3C8CD
text
#14090F
muted
#837B7F

Preview Lab

Preview with #B22F7E

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

Preview Lab → · Contrast checker → · Palette generator →

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