#B0305F#B0305F

#B0305F is a mid, vivid pink. Relative luminance 0.122; OKLCH L 51.7% C 0.167 H 2.9°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#B0305F
RGBrgb(176, 48, 95)
HSLhsl(338, 57%, 44%)
HSVhsv(338, 73%, 69%)
CMYKcmyk(0%, 72.7%, 46%, 31%)
CIE-LABlab(41.49, 54.61, 3.05)
CIE-LCHlch(41.49, 54.69, 3.20°)
OKLaboklab(51.74% 0.1672 0.0084)
OKLCHoklch(51.74% 0.167 2.9)
XYZxyz(21.0287, 12.1730, 12.0665)
Luminance0.1217 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0305F #30B081
analogous
#B0309F #B0305F #B04130
triadic
#B0305F #5FB030 #305FB0
tetradic
#B0305F #9FB030 #30B081 #4130B0
square
#B0305F #9FB030 #30B081 #4130B0
split-complementary
#B0305F #30B041 #309FB0
monochromatic
#50162B #802345 #B0305F #CF4E7E #DC7EA1

Accessibility & contrast

On white

6.12
#B0305F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#B0305F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B0305F
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0305F#FFFFFF#000000##FFFFFF
##B0305F1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5260
Deuteranopia (green-blind)
#6F6B5C
Tritanopia (blue-blind)
#BF1A44
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b0305f;
/* rgb */ color: rgb(176, 48, 95);
/* oklch */ color: oklch(51.7% 0.167 2.9);
Tailwind
colors: {
  custom: {
    50: '#cd738c',
    500: '#b0305f',
    950: '#000000',
  },
}
SCSS
$custom: #b0305f;
$custom-light: #cd738c;
$custom-dark: #000000;
JSON
{
  "hex": "#b0305f",
  "rgb": {
    "r": 176,
    "g": 48,
    "b": 95
  },
  "hsl": {
    "h": 337.969,
    "s": 57.143,
    "l": 43.922
  },
  "oklch": {
    "l": 0.5174,
    "c": 0.16742,
    "h": 2.9
  },
  "luminance": 0.1217
}

Semantic roles & 50–950 ramp

primary
#B0305F
secondary
#77C5A8
accent
#E0A847
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14090C
muted
#837B7D

Preview Lab

Preview with #B0305F

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

Preview Lab → · Contrast checker → · Palette generator →

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