#B0245F#B0245F

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

Color values

HEX#B0245F
RGBrgb(176, 36, 95)
HSLhsl(335, 66%, 42%)
HSVhsv(335, 80%, 69%)
CMYKcmyk(0%, 79.5%, 46%, 31%)
CIE-LABlab(40.12, 58.47, 1.06)
CIE-LCHlch(40.12, 58.48, 1.04°)
OKLaboklab(50.73% 0.1796 0.0034)
OKLCHoklch(50.73% 0.18 1.1)
XYZxyz(20.6026, 11.3209, 11.9245)
Luminance0.1132 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0245F #24B075
analogous
#B024A5 #B0245F #B02F24
triadic
#B0245F #5FB024 #245FB0
tetradic
#B0245F #A5B024 #24B075 #2F24B0
square
#B0245F #A5B024 #24B075 #2F24B0
split-complementary
#B0245F #24B02F #24A5B0
monochromatic
#4A0F28 #7D1A44 #B0245F #D73A7C #E16D9E

Accessibility & contrast

On white

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

On black

3.26
#B0245F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B0245F#FFFFFF#000000##FFFFFF
##B0245F1.006.433.266.43
#FFFFFF6.431.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464D60
Deuteranopia (green-blind)
#6C685C
Tritanopia (blue-blind)
#BF003F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b0245f;
/* rgb */ color: rgb(176, 36, 95);
/* oklch */ color: oklch(50.7% 0.180 1.1);
Tailwind
colors: {
  custom: {
    50: '#cd6e8c',
    500: '#b0245f',
    950: '#000000',
  },
}
SCSS
$custom: #b0245f;
$custom-light: #cd6e8c;
$custom-dark: #000000;
JSON
{
  "hex": "#b0245f",
  "rgb": {
    "r": 176,
    "g": 36,
    "b": 95
  },
  "hsl": {
    "h": 334.714,
    "s": 66.038,
    "l": 41.569
  },
  "oklch": {
    "l": 0.50729,
    "c": 0.17965,
    "h": 1.1
  },
  "luminance": 0.11318
}

Semantic roles & 50–950 ramp

primary
#B0245F
secondary
#68C89F
accent
#E9A13F
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#15080C
muted
#837B7D

Preview Lab

Preview with #B0245F

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

Preview Lab → · Contrast checker → · Palette generator →

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