#B2257A#B2257A

#B2257A is a mid, vivid pink. Relative luminance 0.122; OKLCH L 52.1% C 0.192 H 349.2°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#B2257A
RGBrgb(178, 37, 122)
HSLhsl(324, 66%, 42%)
HSVhsv(324, 79%, 70%)
CMYKcmyk(0%, 79.2%, 31.5%, 30.2%)
CIE-LABlab(41.53, 61.51, -13.70)
CIE-LCHlch(41.53, 63.02, 347.45°)
OKLaboklab(52.13% 0.1882 -0.0359)
OKLCHoklch(52.13% 0.192 349.2)
XYZxyz(22.5358, 12.1959, 19.5759)
Luminance0.1219 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2257A #25B25D
analogous
#A425B2 #B2257A #B22534
triadic
#B2257A #7AB225 #257AB2
tetradic
#B2257A #B2A425 #25B25D #2534B2
square
#B2257A #B2A425 #25B25D #2534B2
split-complementary
#B2257A #34B225 #25B2A4
monochromatic
#4D1035 #7F1A57 #B2257A #D73D9A #E170B4

Accessibility & contrast

On white

6.11
#B2257A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#B2257A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B2257A
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2257A#FFFFFF#000000##FFFFFF
##B2257A1.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D527C
Deuteranopia (green-blind)
#676B77
Tritanopia (blue-blind)
#BF1B4D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b2257a;
/* rgb */ color: rgb(178, 37, 122);
/* oklch */ color: oklch(52.1% 0.192 349.2);
Tailwind
colors: {
  custom: {
    50: '#ce6fa0',
    500: '#b2257a',
    950: '#000000',
  },
}
SCSS
$custom: #b2257a;
$custom-light: #ce6fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#b2257a",
  "rgb": {
    "r": 178,
    "g": 37,
    "b": 122
  },
  "hsl": {
    "h": 323.83,
    "s": 65.581,
    "l": 42.157
  },
  "oklch": {
    "l": 0.52132,
    "c": 0.19155,
    "h": 349.2
  },
  "luminance": 0.12193
}

Semantic roles & 50–950 ramp

primary
#B2257A
secondary
#6BC890
accent
#E9823F
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14080E
muted
#837B7E

Preview Lab

Preview with #B2257A

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

Preview Lab → · Contrast checker → · Palette generator →

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