#B22862#B22862

#B22862 is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.5% C 0.178 H 0.6°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#B22862
RGBrgb(178, 40, 98)
HSLhsl(335, 63%, 43%)
HSVhsv(335, 78%, 70%)
CMYKcmyk(0%, 77.5%, 44.9%, 30.2%)
CIE-LABlab(41.00, 58.12, 0.51)
CIE-LCHlch(41.00, 58.12, 0.50°)
OKLaboklab(51.48% 0.1785 0.002)
OKLCHoklch(51.48% 0.178 0.6)
XYZxyz(21.3252, 11.8672, 12.7206)
Luminance0.1186 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22862 #28B278
analogous
#B228A7 #B22862 #B23328
triadic
#B22862 #62B228 #2862B2
tetradic
#B22862 #A7B228 #28B278 #3328B2
square
#B22862 #A7B228 #28B278 #3328B2
split-complementary
#B22862 #28B233 #28A7B2
monochromatic
#4E122B #801D46 #B22862 #D54380 #E075A2

Accessibility & contrast

On white

6.23
#B22862 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#B22862 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22862
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22862#FFFFFF#000000##FFFFFF
##B228621.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485063
Deuteranopia (green-blind)
#6D6A5F
Tritanopia (blue-blind)
#C10942
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b22862;
/* rgb */ color: rgb(178, 40, 98);
/* oklch */ color: oklch(51.5% 0.178 0.6);
Tailwind
colors: {
  custom: {
    50: '#cf708e',
    500: '#b22862',
    950: '#000000',
  },
}
SCSS
$custom: #b22862;
$custom-light: #cf708e;
$custom-dark: #000000;
JSON
{
  "hex": "#b22862",
  "rgb": {
    "r": 178,
    "g": 40,
    "b": 98
  },
  "hsl": {
    "h": 334.783,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.5148,
    "c": 0.17848,
    "h": 0.6
  },
  "luminance": 0.11864
}

Semantic roles & 50–950 ramp

primary
#B22862
secondary
#6FC7A2
accent
#E6A141
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#15080C
muted
#837B7D

Preview Lab

Preview with #B22862

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

Preview Lab → · Contrast checker → · Palette generator →

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