#B4268C#B4268C

#B4268C is a mid, highly saturated pink. Relative luminance 0.130; OKLCH L 53.3% C 0.202 H 342.3°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#B4268C
RGBrgb(180, 38, 140)
HSLhsl(317, 65%, 43%)
HSVhsv(317, 79%, 71%)
CMYKcmyk(0%, 78.9%, 22.2%, 29.4%)
CIE-LABlab(42.74, 63.93, -22.86)
CIE-LCHlch(42.74, 67.89, 340.33°)
OKLaboklab(53.33% 0.1925 -0.0614)
OKLCHoklch(53.33% 0.202 342.3)
XYZxyz(24.2500, 12.9856, 26.0352)
Luminance0.1298 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4268C #26B44E
analogous
#9526B4 #B4268C #B42645
triadic
#B4268C #8CB426 #268CB4
tetradic
#B4268C #B49526 #26B44E #2645B4
square
#B4268C #B49526 #26B44E #2645B4
split-complementary
#B4268C #45B426 #26B495
monochromatic
#4F113D #811B65 #B4268C #D740AC #E173C2

Accessibility & contrast

On white

5.84
#B4268C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#B4268C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4268C
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4268C#FFFFFF#000000##FFFFFF
##B4268C1.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35568F
Deuteranopia (green-blind)
#636D89
Tritanopia (blue-blind)
#C02857
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b4268c;
/* rgb */ color: rgb(180, 38, 140);
/* oklch */ color: oklch(53.3% 0.202 342.3);
Tailwind
colors: {
  custom: {
    50: '#cf71ae',
    500: '#b4268c',
    950: '#000000',
  },
}
SCSS
$custom: #b4268c;
$custom-light: #cf71ae;
$custom-dark: #000000;
JSON
{
  "hex": "#b4268c",
  "rgb": {
    "r": 180,
    "g": 38,
    "b": 140
  },
  "hsl": {
    "h": 316.901,
    "s": 65.138,
    "l": 42.745
  },
  "oklch": {
    "l": 0.53326,
    "c": 0.20204,
    "h": 342.3
  },
  "luminance": 0.12983
}

Semantic roles & 50–950 ramp

primary
#B4268C
secondary
#6DC987
accent
#E86F40
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B4268C

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

Preview Lab → · Contrast checker → · Palette generator →

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