#B0255D#B0255D

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

Color values

HEX#B0255D
RGBrgb(176, 37, 93)
HSLhsl(336, 65%, 42%)
HSVhsv(336, 79%, 69%)
CMYKcmyk(0%, 79%, 47.2%, 31%)
CIE-LABlab(40.16, 58.01, 2.39)
CIE-LCHlch(40.16, 58.05, 2.36°)
OKLaboklab(50.74% 0.178 0.0068)
OKLCHoklch(50.74% 0.178 2.2)
XYZxyz(20.5436, 11.3464, 11.4621)
Luminance0.1134 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0255D #25B078
analogous
#B025A3 #B0255D #B03225
triadic
#B0255D #5DB025 #255DB0
tetradic
#B0255D #A3B025 #25B078 #3225B0
square
#B0255D #A3B025 #25B078 #3225B0
split-complementary
#B0255D #25B032 #25A3B0
monochromatic
#4B1028 #7D1A42 #B0255D #D63C7A #E16F9D

Accessibility & contrast

On white

6.42
#B0255D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B0255D
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0255D#FFFFFF#000000##FFFFFF
##B0255D1.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474D5E
Deuteranopia (green-blind)
#6C685A
Tritanopia (blue-blind)
#C0003E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b0255d;
/* rgb */ color: rgb(176, 37, 93);
/* oklch */ color: oklch(50.7% 0.178 2.2);
Tailwind
colors: {
  custom: {
    50: '#cd6e8a',
    500: '#b0255d',
    950: '#000000',
  },
}
SCSS
$custom: #b0255d;
$custom-light: #cd6e8a;
$custom-dark: #000000;
JSON
{
  "hex": "#b0255d",
  "rgb": {
    "r": 176,
    "g": 37,
    "b": 93
  },
  "hsl": {
    "h": 335.827,
    "s": 65.258,
    "l": 41.765
  },
  "oklch": {
    "l": 0.50741,
    "c": 0.17813,
    "h": 2.2
  },
  "luminance": 0.11344
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B0255D

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

Preview Lab → · Contrast checker → · Palette generator →

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