#B22F7F#B22F7F

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

Color values

HEX#B22F7F
RGBrgb(178, 47, 127)
HSLhsl(323, 58%, 44%)
HSVhsv(323, 74%, 70%)
CMYKcmyk(0%, 73.6%, 28.7%, 30.2%)
CIE-LABlab(42.81, 59.01, -14.82)
CIE-LCHlch(42.81, 60.85, 345.90°)
OKLaboklab(53.13% 0.1796 -0.039)
OKLCHoklch(53.13% 0.184 347.7)
XYZxyz(23.2085, 13.0329, 21.3679)
Luminance0.1303 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22F7F #2FB262
analogous
#A42FB2 #B22F7F #B22F3E
triadic
#B22F7F #7FB22F #2F7FB2
tetradic
#B22F7F #B2A42F #2FB262 #2F3EB2
square
#B22F7F #B2A42F #2FB262 #2F3EB2
split-complementary
#B22F7F #3EB22F #2FB2A4
monochromatic
#51153A #82225C #B22F7F #D04E9E #DD7EB8

Accessibility & contrast

On white

5.82
#B22F7F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#B22F7F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22F7F
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22F7F#FFFFFF#000000##FFFFFF
##B22F7F1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425781
Deuteranopia (green-blind)
#686D7C
Tritanopia (blue-blind)
#BF2A53
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b22f7f;
/* rgb */ color: rgb(178, 47, 127);
/* oklch */ color: oklch(53.1% 0.184 347.7);
Tailwind
colors: {
  custom: {
    50: '#cd74a4',
    500: '#b22f7f',
    950: '#000000',
  },
}
SCSS
$custom: #b22f7f;
$custom-light: #cd74a4;
$custom-dark: #000000;
JSON
{
  "hex": "#b22f7f",
  "rgb": {
    "r": 178,
    "g": 47,
    "b": 127
  },
  "hsl": {
    "h": 323.359,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.53133,
    "c": 0.18382,
    "h": 347.7
  },
  "luminance": 0.1303
}

Semantic roles & 50–950 ramp

primary
#B22F7F
secondary
#77C696
accent
#E18346
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14090F
muted
#837B7F

Preview Lab

Preview with #B22F7F

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

Preview Lab → · Contrast checker → · Palette generator →

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