#B2407B#B2407B

#B2407B is a mid, vivid pink. Relative luminance 0.146; OKLCH L 54.7% C 0.160 H 351.6°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#B2407B
RGBrgb(178, 64, 123)
HSLhsl(329, 47%, 47%)
HSVhsv(329, 64%, 70%)
CMYKcmyk(0%, 64%, 30.9%, 30.2%)
CIE-LABlab(45.03, 51.95, -9.02)
CIE-LCHlch(45.03, 52.73, 350.15°)
OKLaboklab(54.71% 0.1581 -0.0233)
OKLCHoklch(54.71% 0.16 351.6)
XYZxyz(23.7698, 14.5643, 20.2944)
Luminance0.1456 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2407B #40B277
analogous
#B040B2 #B2407B #B24042
triadic
#B2407B #7BB240 #407BB2
tetradic
#B2407B #B2B040 #40B277 #4042B2
square
#B2407B #B2B040 #40B277 #4042B2
split-complementary
#B2407B #42B240 #40B2B0
monochromatic
#58203D #85305C #B2407B #C86799 #D894B7

Accessibility & contrast

On white

5.37
#B2407B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#B2407B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B2407B
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2407B#FFFFFF#000000##FFFFFF
##B2407B1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505E7D
Deuteranopia (green-blind)
#707278
Tritanopia (blue-blind)
#BF3A58
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b2407b;
/* rgb */ color: rgb(178, 64, 123);
/* oklch */ color: oklch(54.7% 0.160 351.6);
Tailwind
colors: {
  custom: {
    50: '#cd7ca1',
    500: '#b2407b',
    950: '#000000',
  },
}
SCSS
$custom: #b2407b;
$custom-light: #cd7ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#b2407b",
  "rgb": {
    "r": 178,
    "g": 64,
    "b": 123
  },
  "hsl": {
    "h": 328.947,
    "s": 47.107,
    "l": 47.451
  },
  "oklch": {
    "l": 0.54714,
    "c": 0.15985,
    "h": 351.6
  },
  "luminance": 0.14562
}

Semantic roles & 50–950 ramp

primary
#B2407B
secondary
#8AC4A6
accent
#D79251
background
#FDF7F9
surface
#FAEEF2
border
#D3C9CC
text
#140A0E
muted
#837C7E

Preview Lab

Preview with #B2407B

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

Preview Lab → · Contrast checker → · Palette generator →

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