#B2257C#B2257C

#B2257C is a mid, vivid pink. Relative luminance 0.122; OKLCH L 52.2% C 0.193 H 348.3°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#B2257C
RGBrgb(178, 37, 124)
HSLhsl(323, 66%, 42%)
HSVhsv(323, 79%, 70%)
CMYKcmyk(0%, 79.2%, 30.3%, 30.2%)
CIE-LABlab(41.60, 61.74, -14.82)
CIE-LCHlch(41.60, 63.50, 346.51°)
OKLaboklab(52.22% 0.1886 -0.039)
OKLCHoklch(52.22% 0.193 348.3)
XYZxyz(22.6610, 12.2460, 20.2352)
Luminance0.1224 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2257C #25B25B
analogous
#A225B2 #B2257C #B22535
triadic
#B2257C #7CB225 #257CB2
tetradic
#B2257C #B2A225 #25B25B #2535B2
square
#B2257C #B2A225 #25B25B #2535B2
split-complementary
#B2257C #35B225 #25B2A2
monochromatic
#4D1035 #7F1A59 #B2257C #D73D9C #E170B6

Accessibility & contrast

On white

6.09
#B2257C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#B2257C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B2257C
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2257C#FFFFFF#000000##FFFFFF
##B2257C1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D537E
Deuteranopia (green-blind)
#666B79
Tritanopia (blue-blind)
#BF1D4E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b2257c;
/* rgb */ color: rgb(178, 37, 124);
/* oklch */ color: oklch(52.2% 0.193 348.3);
Tailwind
colors: {
  custom: {
    50: '#ce70a2',
    500: '#b2257c',
    950: '#000000',
  },
}
SCSS
$custom: #b2257c;
$custom-light: #ce70a2;
$custom-dark: #000000;
JSON
{
  "hex": "#b2257c",
  "rgb": {
    "r": 178,
    "g": 37,
    "b": 124
  },
  "hsl": {
    "h": 322.979,
    "s": 65.581,
    "l": 42.157
  },
  "oklch": {
    "l": 0.52215,
    "c": 0.19259,
    "h": 348.3
  },
  "luminance": 0.12243
}

Semantic roles & 50–950 ramp

primary
#B2257C
secondary
#6BC88E
accent
#E9803F
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14080F
muted
#837B7E

Preview Lab

Preview with #B2257C

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

Preview Lab → · Contrast checker → · Palette generator →

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