#B0257E#B0257E

#B0257E is a mid, vivid pink. Relative luminance 0.121; OKLCH L 52.0% C 0.192 H 346.9°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#B0257E
RGBrgb(176, 37, 126)
HSLhsl(322, 65%, 42%)
HSVhsv(322, 79%, 69%)
CMYKcmyk(0%, 79%, 28.4%, 31%)
CIE-LABlab(41.31, 61.49, -16.53)
CIE-LCHlch(41.31, 63.67, 344.96°)
OKLaboklab(51.96% 0.1873 -0.0437)
OKLCHoklch(51.96% 0.192 346.9)
XYZxyz(22.3331, 12.0622, 20.8867)
Luminance0.1206 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0257E #25B057
analogous
#9D25B0 #B0257E #B02538
triadic
#B0257E #7EB025 #257EB0
tetradic
#B0257E #B09D25 #25B057 #2538B0
square
#B0257E #B09D25 #25B057 #2538B0
split-complementary
#B0257E #38B025 #25B09D
monochromatic
#4B1036 #7D1A5A #B0257E #D63C9F #E16FB8

Accessibility & contrast

On white

6.15
#B0257E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#B0257E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B0257E
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0257E#FFFFFF#000000##FFFFFF
##B0257E1.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5280
Deuteranopia (green-blind)
#646A7B
Tritanopia (blue-blind)
#BD1F4F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b0257e;
/* rgb */ color: rgb(176, 37, 126);
/* oklch */ color: oklch(52.0% 0.192 346.9);
Tailwind
colors: {
  custom: {
    50: '#cc6fa3',
    500: '#b0257e',
    950: '#000000',
  },
}
SCSS
$custom: #b0257e;
$custom-light: #cc6fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#b0257e",
  "rgb": {
    "r": 176,
    "g": 37,
    "b": 126
  },
  "hsl": {
    "h": 321.583,
    "s": 65.258,
    "l": 41.765
  },
  "oklch": {
    "l": 0.51963,
    "c": 0.19234,
    "h": 346.9
  },
  "luminance": 0.1206
}

Semantic roles & 50–950 ramp

primary
#B0257E
secondary
#6AC78B
accent
#E87C40
background
#FDF7FA
surface
#FAEDF3
border
#D3C8CD
text
#14080F
muted
#837B7F

Preview Lab

Preview with #B0257E

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

Preview Lab → · Contrast checker → · Palette generator →

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