#B22F5E#B22F5E

#B22F5E is a mid, vivid pink. Relative luminance 0.123; OKLCH L 52.0% C 0.170 H 3.7°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#B22F5E
RGBrgb(178, 47, 94)
HSLhsl(338, 58%, 44%)
HSVhsv(338, 74%, 70%)
CMYKcmyk(0%, 73.6%, 47.2%, 30.2%)
CIE-LABlab(41.70, 55.45, 4.04)
CIE-LCHlch(41.70, 55.60, 4.16°)
OKLaboklab(51.96% 0.1697 0.0109)
OKLCHoklch(51.96% 0.17 3.7)
XYZxyz(21.3987, 12.3090, 11.8365)
Luminance0.1231 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22F5E #2FB283
analogous
#B22FA0 #B22F5E #B2422F
triadic
#B22F5E #5EB22F #2F5EB2
tetradic
#B22F5E #A0B22F #2FB283 #422FB2
square
#B22F5E #A0B22F #2FB283 #422FB2
split-complementary
#B22F5E #2FB242 #2FA0B2
monochromatic
#51152B #822244 #B22F5E #D04E7D #DD7EA0

Accessibility & contrast

On white

6.07
#B22F5E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#B22F5E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22F5E
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22F5E#FFFFFF#000000##FFFFFF
##B22F5E1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D525F
Deuteranopia (green-blind)
#706C5B
Tritanopia (blue-blind)
#C21643
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b22f5e;
/* rgb */ color: rgb(178, 47, 94);
/* oklch */ color: oklch(52.0% 0.170 3.7);
Tailwind
colors: {
  custom: {
    50: '#cf738b',
    500: '#b22f5e',
    950: '#000000',
  },
}
SCSS
$custom: #b22f5e;
$custom-light: #cf738b;
$custom-dark: #000000;
JSON
{
  "hex": "#b22f5e",
  "rgb": {
    "r": 178,
    "g": 47,
    "b": 94
  },
  "hsl": {
    "h": 338.473,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.51956,
    "c": 0.17007,
    "h": 3.7
  },
  "luminance": 0.12306
}

Semantic roles & 50–950 ramp

primary
#B22F5E
secondary
#77C6AA
accent
#E1AA46
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#15090C
muted
#837B7D

Preview Lab

Preview with #B22F5E

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

Preview Lab → · Contrast checker → · Palette generator →

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