#B2427F#B2427F

#B2427F is a mid, vivid pink. Relative luminance 0.149; OKLCH L 55.1% C 0.159 H 349.8°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#B2427F
RGBrgb(178, 66, 127)
HSLhsl(327, 46%, 48%)
HSVhsv(327, 63%, 70%)
CMYKcmyk(0%, 62.9%, 28.7%, 30.2%)
CIE-LABlab(45.49, 51.59, -10.76)
CIE-LCHlch(45.49, 52.70, 348.21°)
OKLaboklab(55.1% 0.1566 -0.0281)
OKLCHoklch(55.1% 0.159 349.8)
XYZxyz(24.1401, 14.8962, 21.6785)
Luminance0.1489 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2427F #42B275
analogous
#AD42B2 #B2427F #B24247
triadic
#B2427F #7FB242 #427FB2
tetradic
#B2427F #B2AD42 #42B275 #4247B2
square
#B2427F #B2AD42 #42B275 #4247B2
split-complementary
#B2427F #47B242 #42B2AD
monochromatic
#59213F #85315F #B2427F #C86A9D #D896BA

Accessibility & contrast

On white

5.28
#B2427F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#B2427F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B2427F
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2427F#FFFFFF#000000##FFFFFF
##B2427F1.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#515F81
Deuteranopia (green-blind)
#70737C
Tritanopia (blue-blind)
#BE3D5B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b2427f;
/* rgb */ color: rgb(178, 66, 127);
/* oklch */ color: oklch(55.1% 0.159 349.8);
Tailwind
colors: {
  custom: {
    50: '#cc7da4',
    500: '#b2427f',
    950: '#000000',
  },
}
SCSS
$custom: #b2427f;
$custom-light: #cc7da4;
$custom-dark: #000000;
JSON
{
  "hex": "#b2427f",
  "rgb": {
    "r": 178,
    "g": 66,
    "b": 127
  },
  "hsl": {
    "h": 327.321,
    "s": 45.902,
    "l": 47.843
  },
  "oklch": {
    "l": 0.551,
    "c": 0.15909,
    "h": 349.8
  },
  "luminance": 0.14894
}

Semantic roles & 50–950 ramp

primary
#B2427F
secondary
#8CC4A5
accent
#D68E52
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#140A0F
muted
#837C7F

Preview Lab

Preview with #B2427F

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

Preview Lab → · Contrast checker → · Palette generator →

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