#B42875#B42875

#B42875 is a mid, vivid pink. Relative luminance 0.125; OKLCH L 52.5% C 0.188 H 352.2°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#B42875
RGBrgb(180, 40, 117)
HSLhsl(327, 64%, 43%)
HSVhsv(327, 78%, 71%)
CMYKcmyk(0%, 77.8%, 35%, 29.4%)
CIE-LABlab(42.01, 60.59, -9.83)
CIE-LCHlch(42.01, 61.38, 350.79°)
OKLaboklab(52.49% 0.1859 -0.0253)
OKLCHoklch(52.49% 0.188 352.2)
XYZxyz(22.7935, 12.5080, 18.0401)
Luminance0.1250 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42875 #28B467
analogous
#AD28B4 #B42875 #B4282F
triadic
#B42875 #75B428 #2875B4
tetradic
#B42875 #B4AD28 #28B467 #282FB4
square
#B42875 #B4AD28 #28B467 #282FB4
split-complementary
#B42875 #2FB428 #28B4AD
monochromatic
#501234 #821D54 #B42875 #D54494 #E176B1

Accessibility & contrast

On white

6.00
#B42875 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#B42875 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42875
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42875#FFFFFF#000000##FFFFFF
##B428751.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435377
Deuteranopia (green-blind)
#6A6C72
Tritanopia (blue-blind)
#C21A4B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b42875;
/* rgb */ color: rgb(180, 40, 117);
/* oklch */ color: oklch(52.5% 0.188 352.2);
Tailwind
colors: {
  custom: {
    50: '#cf719c',
    500: '#b42875',
    950: '#000000',
  },
}
SCSS
$custom: #b42875;
$custom-light: #cf719c;
$custom-dark: #000000;
JSON
{
  "hex": "#b42875",
  "rgb": {
    "r": 180,
    "g": 40,
    "b": 117
  },
  "hsl": {
    "h": 327,
    "s": 63.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.52493,
    "c": 0.18762,
    "h": 352.2
  },
  "luminance": 0.12505
}

Semantic roles & 50–950 ramp

primary
#B42875
secondary
#70C897
accent
#E78C41
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#15090E
muted
#837B7E

Preview Lab

Preview with #B42875

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

Preview Lab → · Contrast checker → · Palette generator →

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