#B22F7C#B22F7C

#B22F7C is a mid, vivid pink. Relative luminance 0.130; OKLCH L 53.0% C 0.182 H 349.1°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#B22F7C
RGBrgb(178, 47, 124)
HSLhsl(325, 58%, 44%)
HSVhsv(325, 74%, 70%)
CMYKcmyk(0%, 73.6%, 30.3%, 30.2%)
CIE-LABlab(42.70, 58.65, -13.15)
CIE-LCHlch(42.70, 60.10, 347.36°)
OKLaboklab(53.01% 0.1789 -0.0345)
OKLCHoklch(53.01% 0.182 349.1)
XYZxyz(23.0159, 12.9558, 20.3535)
Luminance0.1295 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22F7C #2FB265
analogous
#A72FB2 #B22F7C #B22F3B
triadic
#B22F7C #7CB22F #2F7CB2
tetradic
#B22F7C #B2A72F #2FB265 #2F3BB2
square
#B22F7C #B2A72F #2FB265 #2F3BB2
split-complementary
#B22F7C #3BB22F #2FB2A7
monochromatic
#511539 #82225A #B22F7C #D04E9B #DD7EB6

Accessibility & contrast

On white

5.85
#B22F7C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#B22F7C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22F7C
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22F7C#FFFFFF#000000##FFFFFF
##B22F7C1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43567E
Deuteranopia (green-blind)
#696D79
Tritanopia (blue-blind)
#BF2851
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b22f7c;
/* rgb */ color: rgb(178, 47, 124);
/* oklch */ color: oklch(53.0% 0.182 349.1);
Tailwind
colors: {
  custom: {
    50: '#cd73a2',
    500: '#b22f7c',
    950: '#000000',
  },
}
SCSS
$custom: #b22f7c;
$custom-light: #cd73a2;
$custom-dark: #000000;
JSON
{
  "hex": "#b22f7c",
  "rgb": {
    "r": 178,
    "g": 47,
    "b": 124
  },
  "hsl": {
    "h": 324.733,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.5301,
    "c": 0.1822,
    "h": 349.1
  },
  "luminance": 0.12953
}

Semantic roles & 50–950 ramp

primary
#B22F7C
secondary
#77C697
accent
#E18646
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090F
muted
#837B7E

Preview Lab

Preview with #B22F7C

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

Preview Lab → · Contrast checker → · Palette generator →

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