#B22875#B22875

#B22875 is a mid, vivid pink. Relative luminance 0.123; OKLCH L 52.2% C 0.186 H 351.7°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#B22875
RGBrgb(178, 40, 117)
HSLhsl(327, 63%, 43%)
HSVhsv(327, 78%, 70%)
CMYKcmyk(0%, 77.5%, 34.3%, 30.2%)
CIE-LABlab(41.64, 60.07, -10.42)
CIE-LCHlch(41.64, 60.97, 350.16°)
OKLaboklab(52.15% 0.1842 -0.027)
OKLCHoklch(52.15% 0.186 351.7)
XYZxyz(22.3311, 12.2696, 18.0185)
Luminance0.1227 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22875 #28B265
analogous
#AA28B2 #B22875 #B22830
triadic
#B22875 #75B228 #2875B2
tetradic
#B22875 #B2AA28 #28B265 #2830B2
square
#B22875 #B2AA28 #28B265 #2830B2
split-complementary
#B22875 #30B228 #28B2AA
monochromatic
#4E1233 #801D54 #B22875 #D54394 #E075B0

Accessibility & contrast

On white

6.08
#B22875 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#B22875 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22875
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22875#FFFFFF#000000##FFFFFF
##B228751.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425277
Deuteranopia (green-blind)
#696B72
Tritanopia (blue-blind)
#C01B4B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b22875;
/* rgb */ color: rgb(178, 40, 117);
/* oklch */ color: oklch(52.2% 0.186 351.7);
Tailwind
colors: {
  custom: {
    50: '#ce709c',
    500: '#b22875',
    950: '#000000',
  },
}
SCSS
$custom: #b22875;
$custom-light: #ce709c;
$custom-dark: #000000;
JSON
{
  "hex": "#b22875",
  "rgb": {
    "r": 178,
    "g": 40,
    "b": 117
  },
  "hsl": {
    "h": 326.522,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.52154,
    "c": 0.18615,
    "h": 351.7
  },
  "luminance": 0.12267
}

Semantic roles & 50–950 ramp

primary
#B22875
secondary
#6FC796
accent
#E68A41
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14080E
muted
#837B7E

Preview Lab

Preview with #B22875

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

Preview Lab → · Contrast checker → · Palette generator →

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