#B0255C#B0255C

#B0255C is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.7% C 0.178 H 2.7°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#B0255C
RGBrgb(176, 37, 92)
HSLhsl(336, 65%, 42%)
HSVhsv(336, 79%, 69%)
CMYKcmyk(0%, 79%, 47.7%, 31%)
CIE-LABlab(40.13, 57.92, 2.98)
CIE-LCHlch(40.13, 57.99, 2.95°)
OKLaboklab(50.71% 0.1777 0.0083)
OKLCHoklch(50.71% 0.178 2.7)
XYZxyz(20.4996, 11.3288, 11.2303)
Luminance0.1133 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0255C #25B079
analogous
#B025A2 #B0255C #B03425
triadic
#B0255C #5CB025 #255CB0
tetradic
#B0255C #A2B025 #25B079 #3425B0
square
#B0255C #A2B025 #25B079 #3425B0
split-complementary
#B0255C #25B034 #25A2B0
monochromatic
#4B1027 #7D1A42 #B0255C #D63C79 #E16F9C

Accessibility & contrast

On white

6.43
#B0255C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#B0255C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B0255C
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0255C#FFFFFF#000000##FFFFFF
##B0255C1.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474D5D
Deuteranopia (green-blind)
#6C6859
Tritanopia (blue-blind)
#C0003D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b0255c;
/* rgb */ color: rgb(176, 37, 92);
/* oklch */ color: oklch(50.7% 0.178 2.7);
Tailwind
colors: {
  custom: {
    50: '#cd6e89',
    500: '#b0255c',
    950: '#000000',
  },
}
SCSS
$custom: #b0255c;
$custom-light: #cd6e89;
$custom-dark: #000000;
JSON
{
  "hex": "#b0255c",
  "rgb": {
    "r": 176,
    "g": 37,
    "b": 92
  },
  "hsl": {
    "h": 336.259,
    "s": 65.258,
    "l": 41.765
  },
  "oklch": {
    "l": 0.5071,
    "c": 0.17784,
    "h": 2.7
  },
  "luminance": 0.11326
}

Semantic roles & 50–950 ramp

primary
#B0255C
secondary
#6AC7A2
accent
#E8A540
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#15080B
muted
#837B7C

Preview Lab

Preview with #B0255C

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

Preview Lab → · Contrast checker → · Palette generator →

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