#B1245F#B1245F

#B1245F is a mid, vivid pink. Relative luminance 0.114; OKLCH L 50.9% C 0.180 H 1.3°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#B1245F
RGBrgb(177, 36, 95)
HSLhsl(335, 66%, 42%)
HSVhsv(335, 80%, 69%)
CMYKcmyk(0%, 79.7%, 46.3%, 30.6%)
CIE-LABlab(40.31, 58.74, 1.37)
CIE-LCHlch(40.31, 58.76, 1.33°)
OKLaboklab(50.91% 0.1804 0.0042)
OKLCHoklch(50.91% 0.18 1.3)
XYZxyz(20.8296, 11.4379, 11.9351)
Luminance0.1143 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1245F #24B176
analogous
#B124A6 #B1245F #B13024
triadic
#B1245F #5FB124 #245FB1
tetradic
#B1245F #A6B124 #24B176 #3024B1
square
#B1245F #A6B124 #24B176 #3024B1
split-complementary
#B1245F #24B130 #24A6B1
monochromatic
#4B0F28 #7E1A44 #B1245F #D73B7C #E16E9E

Accessibility & contrast

On white

6.39
#B1245F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#B1245F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B1245F
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1245F#FFFFFF#000000##FFFFFF
##B1245F1.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464E60
Deuteranopia (green-blind)
#6C695C
Tritanopia (blue-blind)
#C0003F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b1245f;
/* rgb */ color: rgb(177, 36, 95);
/* oklch */ color: oklch(50.9% 0.180 1.3);
Tailwind
colors: {
  custom: {
    50: '#ce6e8c',
    500: '#b1245f',
    950: '#000000',
  },
}
SCSS
$custom: #b1245f;
$custom-light: #ce6e8c;
$custom-dark: #000000;
JSON
{
  "hex": "#b1245f",
  "rgb": {
    "r": 177,
    "g": 36,
    "b": 95
  },
  "hsl": {
    "h": 334.894,
    "s": 66.197,
    "l": 41.765
  },
  "oklch": {
    "l": 0.50905,
    "c": 0.18047,
    "h": 1.3
  },
  "luminance": 0.11435
}

Semantic roles & 50–950 ramp

primary
#B1245F
secondary
#69C8A0
accent
#E9A23F
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#15080C
muted
#837B7D

Preview Lab

Preview with #B1245F

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

Preview Lab → · Contrast checker → · Palette generator →

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