#B4268F#B4268F

#B4268F is a mid, highly saturated pink. Relative luminance 0.131; OKLCH L 53.5% C 0.204 H 341.1°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#B4268F
RGBrgb(180, 38, 143)
HSLhsl(316, 65%, 43%)
HSVhsv(316, 79%, 71%)
CMYKcmyk(0%, 78.9%, 20.6%, 29.4%)
CIE-LABlab(42.88, 64.32, -24.47)
CIE-LCHlch(42.88, 68.82, 339.17°)
OKLaboklab(53.47% 0.1929 -0.0659)
OKLCHoklch(53.47% 0.204 341.1)
XYZxyz(24.4742, 13.0752, 27.2161)
Luminance0.1307 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4268F #26B44B
analogous
#9226B4 #B4268F #B42648
triadic
#B4268F #8FB426 #268FB4
tetradic
#B4268F #B49226 #26B44B #2648B4
square
#B4268F #B49226 #26B44B #2648B4
split-complementary
#B4268F #48B426 #26B492
monochromatic
#4F113F #811B67 #B4268F #D740B0 #E173C5

Accessibility & contrast

On white

5.81
#B4268F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#B4268F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4268F
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4268F#FFFFFF#000000##FFFFFF
##B4268F1.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335792
Deuteranopia (green-blind)
#626D8C
Tritanopia (blue-blind)
#BF2A59
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b4268f;
/* rgb */ color: rgb(180, 38, 143);
/* oklch */ color: oklch(53.5% 0.204 341.1);
Tailwind
colors: {
  custom: {
    50: '#cf71b0',
    500: '#b4268f',
    950: '#000000',
  },
}
SCSS
$custom: #b4268f;
$custom-light: #cf71b0;
$custom-dark: #000000;
JSON
{
  "hex": "#b4268f",
  "rgb": {
    "r": 180,
    "g": 38,
    "b": 143
  },
  "hsl": {
    "h": 315.634,
    "s": 65.138,
    "l": 42.745
  },
  "oklch": {
    "l": 0.53467,
    "c": 0.20388,
    "h": 341.1
  },
  "luminance": 0.13073
}

Semantic roles & 50–950 ramp

primary
#B4268F
secondary
#6DC985
accent
#E86C40
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B4268F

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

Preview Lab → · Contrast checker → · Palette generator →

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