#B2258D#B2258D

#B2258D is a mid, highly saturated pink. Relative luminance 0.127; OKLCH L 53.0% C 0.202 H 341.3°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#B2258D
RGBrgb(178, 37, 141)
HSLhsl(316, 66%, 42%)
HSVhsv(316, 79%, 70%)
CMYKcmyk(0%, 79.2%, 20.8%, 30.2%)
CIE-LABlab(42.33, 63.87, -24.14)
CIE-LCHlch(42.33, 68.27, 339.30°)
OKLaboklab(52.98% 0.1917 -0.065)
OKLCHoklch(52.98% 0.202 341.3)
XYZxyz(23.8302, 12.7137, 26.3931)
Luminance0.1271 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2258D #25B24A
analogous
#9125B2 #B2258D #B22546
triadic
#B2258D #8DB225 #258DB2
tetradic
#B2258D #B29125 #25B24A #2546B2
square
#B2258D #B29125 #25B24A #2546B2
split-complementary
#B2258D #46B225 #25B291
monochromatic
#4D103D #7F1A65 #B2258D #D73DAF #E170C4

Accessibility & contrast

On white

5.93
#B2258D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#B2258D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B2258D
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2258D#FFFFFF#000000##FFFFFF
##B2258D1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335690
Deuteranopia (green-blind)
#616C8A
Tritanopia (blue-blind)
#BD2857
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b2258d;
/* rgb */ color: rgb(178, 37, 141);
/* oklch */ color: oklch(53.0% 0.202 341.3);
Tailwind
colors: {
  custom: {
    50: '#cd70ae',
    500: '#b2258d',
    950: '#000000',
  },
}
SCSS
$custom: #b2258d;
$custom-light: #cd70ae;
$custom-dark: #000000;
JSON
{
  "hex": "#b2258d",
  "rgb": {
    "r": 178,
    "g": 37,
    "b": 141
  },
  "hsl": {
    "h": 315.745,
    "s": 65.581,
    "l": 42.157
  },
  "oklch": {
    "l": 0.52975,
    "c": 0.2024,
    "h": 341.3
  },
  "luminance": 0.12711
}

Semantic roles & 50–950 ramp

primary
#B2258D
secondary
#6BC883
accent
#E96C3F
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B2258D

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

Preview Lab → · Contrast checker → · Palette generator →

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