#B2257D#B2257D

#B2257D is a mid, vivid pink. Relative luminance 0.123; OKLCH L 52.3% C 0.193 H 347.9°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#B2257D
RGBrgb(178, 37, 125)
HSLhsl(323, 66%, 42%)
HSVhsv(323, 79%, 70%)
CMYKcmyk(0%, 79.2%, 29.8%, 30.2%)
CIE-LABlab(41.64, 61.86, -15.37)
CIE-LCHlch(41.64, 63.74, 346.04°)
OKLaboklab(52.26% 0.1888 -0.0405)
OKLCHoklch(52.26% 0.193 347.9)
XYZxyz(22.7245, 12.2714, 20.5700)
Luminance0.1227 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2257D #25B25A
analogous
#A025B2 #B2257D #B22537
triadic
#B2257D #7DB225 #257DB2
tetradic
#B2257D #B2A025 #25B25A #2537B2
square
#B2257D #B2A025 #25B25A #2537B2
split-complementary
#B2257D #37B225 #25B2A0
monochromatic
#4D1036 #7F1A59 #B2257D #D73D9D #E170B7

Accessibility & contrast

On white

6.08
#B2257D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B2257D
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2257D#FFFFFF#000000##FFFFFF
##B2257D1.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C537F
Deuteranopia (green-blind)
#666B7A
Tritanopia (blue-blind)
#BF1D4F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b2257d;
/* rgb */ color: rgb(178, 37, 125);
/* oklch */ color: oklch(52.3% 0.193 347.9);
Tailwind
colors: {
  custom: {
    50: '#ce70a2',
    500: '#b2257d',
    950: '#000000',
  },
}
SCSS
$custom: #b2257d;
$custom-light: #ce70a2;
$custom-dark: #000000;
JSON
{
  "hex": "#b2257d",
  "rgb": {
    "r": 178,
    "g": 37,
    "b": 125
  },
  "hsl": {
    "h": 322.553,
    "s": 65.581,
    "l": 42.157
  },
  "oklch": {
    "l": 0.52257,
    "c": 0.19312,
    "h": 347.9
  },
  "luminance": 0.12269
}

Semantic roles & 50–950 ramp

primary
#B2257D
secondary
#6BC88E
accent
#E97F3F
background
#FDF7FA
surface
#FAEDF3
border
#D3C8CD
text
#14080F
muted
#837B7F

Preview Lab

Preview with #B2257D

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

Preview Lab → · Contrast checker → · Palette generator →

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