#B22F94#B22F94

#B22F94 is a mid, vivid pink. Relative luminance 0.136; OKLCH L 54.1% C 0.197 H 338.8°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#B22F94
RGBrgb(178, 47, 148)
HSLhsl(314, 58%, 44%)
HSVhsv(314, 74%, 70%)
CMYKcmyk(0%, 73.6%, 16.9%, 30.2%)
CIE-LABlab(43.71, 61.80, -26.23)
CIE-LCHlch(43.71, 67.14, 337.00°)
OKLaboklab(54.08% 0.1834 -0.071)
OKLCHoklch(54.08% 0.197 338.8)
XYZxyz(24.7225, 13.6385, 29.3417)
Luminance0.1364 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22F94 #2FB24D
analogous
#8F2FB2 #B22F94 #B22F53
triadic
#B22F94 #94B22F #2F94B2
tetradic
#B22F94 #B28F2F #2FB24D #2F53B2
square
#B22F94 #B28F2F #2FB24D #2F53B2
split-complementary
#B22F94 #53B22F #2FB28F
monochromatic
#511543 #82226C #B22F94 #D04EB2 #DD7EC7

Accessibility & contrast

On white

5.63
#B22F94 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#B22F94 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22F94
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22F94#FFFFFF#000000##FFFFFF
##B22F941.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365A97
Deuteranopia (green-blind)
#616F91
Tritanopia (blue-blind)
#BC355E
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b22f94;
/* rgb */ color: rgb(178, 47, 148);
/* oklch */ color: oklch(54.1% 0.197 338.8);
Tailwind
colors: {
  custom: {
    50: '#cd74b3',
    500: '#b22f94',
    950: '#000000',
  },
}
SCSS
$custom: #b22f94;
$custom-light: #cd74b3;
$custom-dark: #000000;
JSON
{
  "hex": "#b22f94",
  "rgb": {
    "r": 178,
    "g": 47,
    "b": 148
  },
  "hsl": {
    "h": 313.74,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.54078,
    "c": 0.1967,
    "h": 338.8
  },
  "luminance": 0.13636
}

Semantic roles & 50–950 ramp

primary
#B22F94
secondary
#77C689
accent
#E16A46
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B22F94

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

Preview Lab → · Contrast checker → · Palette generator →

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