#B22865#B22865

#B22865 is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.6% C 0.179 H 359.2°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#B22865
RGBrgb(178, 40, 101)
HSLhsl(333, 63%, 43%)
HSVhsv(333, 78%, 70%)
CMYKcmyk(0%, 77.5%, 43.3%, 30.2%)
CIE-LABlab(41.10, 58.40, -1.24)
CIE-LCHlch(41.10, 58.41, 358.79°)
OKLaboklab(51.58% 0.1795 -0.0026)
OKLCHoklch(51.58% 0.179 359.2)
XYZxyz(21.4695, 11.9250, 13.4806)
Luminance0.1192 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22865 #28B275
analogous
#B228AA #B22865 #B23028
triadic
#B22865 #65B228 #2865B2
tetradic
#B22865 #AAB228 #28B275 #3028B2
square
#B22865 #AAB228 #28B275 #3028B2
split-complementary
#B22865 #28B230 #28AAB2
monochromatic
#4E122C #801D49 #B22865 #D54383 #E075A4

Accessibility & contrast

On white

6.20
#B22865 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#B22865 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22865
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22865#FFFFFF#000000##FFFFFF
##B228651.006.203.386.20
#FFFFFF6.201.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475066
Deuteranopia (green-blind)
#6D6A62
Tritanopia (blue-blind)
#C10D43
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b22865;
/* rgb */ color: rgb(178, 40, 101);
/* oklch */ color: oklch(51.6% 0.179 359.2);
Tailwind
colors: {
  custom: {
    50: '#ce7090',
    500: '#b22865',
    950: '#000000',
  },
}
SCSS
$custom: #b22865;
$custom-light: #ce7090;
$custom-dark: #000000;
JSON
{
  "hex": "#b22865",
  "rgb": {
    "r": 178,
    "g": 40,
    "b": 101
  },
  "hsl": {
    "h": 333.478,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.51578,
    "c": 0.17949,
    "h": 359.2
  },
  "luminance": 0.11922
}

Semantic roles & 50–950 ramp

primary
#B22865
secondary
#6FC7A0
accent
#E69D41
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#15080C
muted
#837B7D

Preview Lab

Preview with #B22865

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

Preview Lab → · Contrast checker → · Palette generator →

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