#B22F74#B22F74

#B22F74 is a mid, vivid pink. Relative luminance 0.128; OKLCH L 52.7% C 0.178 H 352.8°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#B22F74
RGBrgb(178, 47, 116)
HSLhsl(328, 58%, 44%)
HSVhsv(328, 74%, 70%)
CMYKcmyk(0%, 73.6%, 34.8%, 30.2%)
CIE-LABlab(42.40, 57.71, -8.66)
CIE-LCHlch(42.40, 58.36, 351.47°)
OKLaboklab(52.7% 0.1768 -0.0222)
OKLCHoklch(52.7% 0.178 352.8)
XYZxyz(22.5303, 12.7616, 17.7964)
Luminance0.1276 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22F74 #2FB26D
analogous
#AF2FB2 #B22F74 #B22F33
triadic
#B22F74 #74B22F #2F74B2
tetradic
#B22F74 #B2AF2F #2FB26D #2F33B2
square
#B22F74 #B2AF2F #2FB26D #2F33B2
split-complementary
#B22F74 #33B22F #2FB2AF
monochromatic
#511535 #822254 #B22F74 #D04E93 #DD7EB0

Accessibility & contrast

On white

5.91
#B22F74 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#B22F74 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22F74
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22F74#FFFFFF#000000##FFFFFF
##B22F741.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465576
Deuteranopia (green-blind)
#6B6D71
Tritanopia (blue-blind)
#C0244D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b22f74;
/* rgb */ color: rgb(178, 47, 116);
/* oklch */ color: oklch(52.7% 0.178 352.8);
Tailwind
colors: {
  custom: {
    50: '#ce739c',
    500: '#b22f74',
    950: '#000000',
  },
}
SCSS
$custom: #b22f74;
$custom-light: #ce739c;
$custom-dark: #000000;
JSON
{
  "hex": "#b22f74",
  "rgb": {
    "r": 178,
    "g": 47,
    "b": 116
  },
  "hsl": {
    "h": 328.397,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.52698,
    "c": 0.1782,
    "h": 352.8
  },
  "luminance": 0.12759
}

Semantic roles & 50–950 ramp

primary
#B22F74
secondary
#77C69C
accent
#E19046
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #B22F74

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

Preview Lab → · Contrast checker → · Palette generator →

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