#B22762#B22762

#B22762 is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.4% C 0.179 H 0.5°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#B22762
RGBrgb(178, 39, 98)
HSLhsl(335, 64%, 43%)
HSVhsv(335, 78%, 70%)
CMYKcmyk(0%, 78.1%, 44.9%, 30.2%)
CIE-LABlab(40.90, 58.42, 0.36)
CIE-LCHlch(40.90, 58.42, 0.35°)
OKLaboklab(51.4% 0.1794 0.0016)
OKLCHoklch(51.4% 0.179 0.5)
XYZxyz(21.2919, 11.8007, 12.7095)
Luminance0.1180 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22762 #27B277
analogous
#B227A8 #B22762 #B23127
triadic
#B22762 #62B227 #2762B2
tetradic
#B22762 #A8B227 #27B277 #3127B2
square
#B22762 #A8B227 #27B277 #3127B2
split-complementary
#B22762 #27B231 #27A8B2
monochromatic
#4E112B #801C46 #B22762 #D54180 #E073A1

Accessibility & contrast

On white

6.25
#B22762 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#B22762 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22762
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22762#FFFFFF#000000##FFFFFF
##B227621.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484F63
Deuteranopia (green-blind)
#6D6A5F
Tritanopia (blue-blind)
#C10741
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b22762;
/* rgb */ color: rgb(178, 39, 98);
/* oklch */ color: oklch(51.4% 0.179 0.5);
Tailwind
colors: {
  custom: {
    50: '#cf6f8e',
    500: '#b22762',
    950: '#000000',
  },
}
SCSS
$custom: #b22762;
$custom-light: #cf6f8e;
$custom-dark: #000000;
JSON
{
  "hex": "#b22762",
  "rgb": {
    "r": 178,
    "g": 39,
    "b": 98
  },
  "hsl": {
    "h": 334.532,
    "s": 64.055,
    "l": 42.549
  },
  "oklch": {
    "l": 0.51401,
    "c": 0.17945,
    "h": 0.5
  },
  "luminance": 0.11798
}

Semantic roles & 50–950 ramp

primary
#B22762
secondary
#6DC8A1
accent
#E7A041
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#15080C
muted
#837B7D

Preview Lab

Preview with #B22762

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

Preview Lab → · Contrast checker → · Palette generator →

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