#B2427A#B2427A

#B2427A is a mid, vivid pink. Relative luminance 0.148; OKLCH L 54.9% C 0.156 H 352.5°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#B2427A
RGBrgb(178, 66, 122)
HSLhsl(330, 46%, 48%)
HSVhsv(330, 63%, 70%)
CMYKcmyk(0%, 62.9%, 31.5%, 30.2%)
CIE-LABlab(45.32, 50.95, -7.98)
CIE-LCHlch(45.32, 51.57, 351.10°)
OKLaboklab(54.91% 0.1551 -0.0205)
OKLCHoklch(54.91% 0.156 352.5)
XYZxyz(23.8223, 14.7690, 20.0047)
Luminance0.1477 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2427A #42B27A
analogous
#B242B2 #B2427A #B24242
triadic
#B2427A #7AB242 #427AB2
tetradic
#B2427A #B2B242 #42B27A #4242B2
square
#B2427A #B2B242 #42B27A #4242B2
split-complementary
#B2427A #42B242 #42B2B2
monochromatic
#59213D #85315B #B2427A #C86A99 #D896B7

Accessibility & contrast

On white

5.31
#B2427A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#B2427A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B2427A
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2427A#FFFFFF#000000##FFFFFF
##B2427A1.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#525E7C
Deuteranopia (green-blind)
#717377
Tritanopia (blue-blind)
#BF3C59
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b2427a;
/* rgb */ color: rgb(178, 66, 122);
/* oklch */ color: oklch(54.9% 0.156 352.5);
Tailwind
colors: {
  custom: {
    50: '#cd7da0',
    500: '#b2427a',
    950: '#000000',
  },
}
SCSS
$custom: #b2427a;
$custom-light: #cd7da0;
$custom-dark: #000000;
JSON
{
  "hex": "#b2427a",
  "rgb": {
    "r": 178,
    "g": 66,
    "b": 122
  },
  "hsl": {
    "h": 330,
    "s": 45.902,
    "l": 47.843
  },
  "oklch": {
    "l": 0.54913,
    "c": 0.15649,
    "h": 352.5
  },
  "luminance": 0.14767
}

Semantic roles & 50–950 ramp

primary
#B2427A
secondary
#8CC4A8
accent
#D69452
background
#FDF7F9
surface
#FAEEF2
border
#D3C9CC
text
#140A0E
muted
#837C7E

Preview Lab

Preview with #B2427A

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

Preview Lab → · Contrast checker → · Palette generator →

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