#B0257C#B0257C

#B0257C is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.9% C 0.191 H 347.7°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#B0257C
RGBrgb(176, 37, 124)
HSLhsl(322, 65%, 42%)
HSVhsv(322, 79%, 69%)
CMYKcmyk(0%, 79%, 29.5%, 31%)
CIE-LABlab(41.23, 61.25, -15.41)
CIE-LCHlch(41.23, 63.16, 345.87°)
OKLaboklab(51.88% 0.1869 -0.0406)
OKLCHoklch(51.88% 0.191 347.7)
XYZxyz(22.2053, 12.0111, 20.2139)
Luminance0.1201 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0257C #25B059
analogous
#9F25B0 #B0257C #B02537
triadic
#B0257C #7CB025 #257CB0
tetradic
#B0257C #B09F25 #25B059 #2537B0
square
#B0257C #B09F25 #25B059 #2537B0
split-complementary
#B0257C #37B025 #25B09F
monochromatic
#4B1035 #7D1A58 #B0257C #D63C9C #E16FB6

Accessibility & contrast

On white

6.17
#B0257C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#B0257C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B0257C
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0257C#FFFFFF#000000##FFFFFF
##B0257C1.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B527E
Deuteranopia (green-blind)
#656A79
Tritanopia (blue-blind)
#BD1E4E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b0257c;
/* rgb */ color: rgb(176, 37, 124);
/* oklch */ color: oklch(51.9% 0.191 347.7);
Tailwind
colors: {
  custom: {
    50: '#cc6fa2',
    500: '#b0257c',
    950: '#000000',
  },
}
SCSS
$custom: #b0257c;
$custom-light: #cc6fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#b0257c",
  "rgb": {
    "r": 176,
    "g": 37,
    "b": 124
  },
  "hsl": {
    "h": 322.446,
    "s": 65.258,
    "l": 41.765
  },
  "oklch": {
    "l": 0.51878,
    "c": 0.19126,
    "h": 347.7
  },
  "luminance": 0.12008
}

Semantic roles & 50–950 ramp

primary
#B0257C
secondary
#6AC78D
accent
#E87F40
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14080F
muted
#837B7E

Preview Lab

Preview with #B0257C

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

Preview Lab → · Contrast checker → · Palette generator →

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