#B0245B#B0245B

#B0245B is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.6% C 0.178 H 3.0°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#B0245B
RGBrgb(176, 36, 91)
HSLhsl(336, 66%, 42%)
HSVhsv(336, 80%, 69%)
CMYKcmyk(0%, 79.5%, 48.3%, 31%)
CIE-LABlab(40.00, 58.12, 3.43)
CIE-LCHlch(40.00, 58.22, 3.37°)
OKLaboklab(50.61% 0.1782 0.0094)
OKLCHoklch(50.61% 0.178 3)
XYZxyz(20.4255, 11.2500, 10.9914)
Luminance0.1125 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0245B #24B079
analogous
#B024A1 #B0245B #B03324
triadic
#B0245B #5BB024 #245BB0
tetradic
#B0245B #A1B024 #24B079 #3324B0
square
#B0245B #A1B024 #24B079 #3324B0
split-complementary
#B0245B #24B033 #24A1B0
monochromatic
#4A0F26 #7D1A41 #B0245B #D73A78 #E16D9B

Accessibility & contrast

On white

6.46
#B0245B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#B0245B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B0245B
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0245B#FFFFFF#000000##FFFFFF
##B0245B1.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474D5C
Deuteranopia (green-blind)
#6C6858
Tritanopia (blue-blind)
#C0003D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b0245b;
/* rgb */ color: rgb(176, 36, 91);
/* oklch */ color: oklch(50.6% 0.178 3.0);
Tailwind
colors: {
  custom: {
    50: '#ce6e89',
    500: '#b0245b',
    950: '#000000',
  },
}
SCSS
$custom: #b0245b;
$custom-light: #ce6e89;
$custom-dark: #000000;
JSON
{
  "hex": "#b0245b",
  "rgb": {
    "r": 176,
    "g": 36,
    "b": 91
  },
  "hsl": {
    "h": 336.429,
    "s": 66.038,
    "l": 41.569
  },
  "oklch": {
    "l": 0.50605,
    "c": 0.17847,
    "h": 3
  },
  "luminance": 0.11247
}

Semantic roles & 50–950 ramp

primary
#B0245B
secondary
#68C8A2
accent
#E9A63F
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#15080B
muted
#837B7C

Preview Lab

Preview with #B0245B

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

Preview Lab → · Contrast checker → · Palette generator →

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