#B0257F#B0257F

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

Color values

HEX#B0257F
RGBrgb(176, 37, 127)
HSLhsl(321, 65%, 42%)
HSVhsv(321, 79%, 69%)
CMYKcmyk(0%, 79%, 27.8%, 31%)
CIE-LABlab(41.36, 61.61, -17.08)
CIE-LCHlch(41.36, 63.94, 344.50°)
OKLaboklab(52.01% 0.1875 -0.0453)
OKLCHoklch(52.01% 0.193 346.4)
XYZxyz(22.3979, 12.0881, 21.2283)
Luminance0.1209 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0257F #25B056
analogous
#9C25B0 #B0257F #B0253A
triadic
#B0257F #7FB025 #257FB0
tetradic
#B0257F #B09C25 #25B056 #253AB0
square
#B0257F #B09C25 #25B056 #253AB0
split-complementary
#B0257F #3AB025 #25B09C
monochromatic
#4B1036 #7D1A5B #B0257F #D63CA0 #E16FB9

Accessibility & contrast

On white

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

On black

3.42
#B0257F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B0257F#FFFFFF#000000##FFFFFF
##B0257F1.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5281
Deuteranopia (green-blind)
#646A7C
Tritanopia (blue-blind)
#BC2050
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b0257f;
/* rgb */ color: rgb(176, 37, 127);
/* oklch */ color: oklch(52.0% 0.193 346.4);
Tailwind
colors: {
  custom: {
    50: '#cc6fa4',
    500: '#b0257f',
    950: '#000000',
  },
}
SCSS
$custom: #b0257f;
$custom-light: #cc6fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#b0257f",
  "rgb": {
    "r": 176,
    "g": 37,
    "b": 127
  },
  "hsl": {
    "h": 321.151,
    "s": 65.258,
    "l": 41.765
  },
  "oklch": {
    "l": 0.52006,
    "c": 0.19289,
    "h": 346.4
  },
  "luminance": 0.12086
}

Semantic roles & 50–950 ramp

primary
#B0257F
secondary
#6AC78B
accent
#E87B40
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14080F
muted
#837B7F

Preview Lab

Preview with #B0257F

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

Preview Lab → · Contrast checker → · Palette generator →

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