#B3254B#B3254B

#B3254B is a mid, vivid pink. Relative luminance 0.114; OKLCH L 50.8% C 0.177 H 11.4°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#B3254B
RGBrgb(179, 37, 75)
HSLhsl(344, 66%, 42%)
HSVhsv(344, 79%, 70%)
CMYKcmyk(0%, 79.3%, 58.1%, 29.8%)
CIE-LABlab(40.28, 57.40, 14.04)
CIE-LCHlch(40.28, 59.09, 13.74°)
OKLaboklab(50.78% 0.1736 0.035)
OKLCHoklch(50.78% 0.177 11.4)
XYZxyz(20.5240, 11.4179, 7.7784)
Luminance0.1142 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3254B #25B38D
analogous
#B32592 #B3254B #B34625
triadic
#B3254B #4BB325 #254BB3
tetradic
#B3254B #92B325 #25B38D #4625B3
square
#B3254B #92B325 #25B38D #4625B3
split-complementary
#B3254B #25B346 #2592B3
monochromatic
#4E1020 #801B36 #B3254B #D73E67 #E2718F

Accessibility & contrast

On white

6.40
#B3254B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#B3254B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B3254B
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3254B#FFFFFF#000000##FFFFFF
##B3254B1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4C4C
Deuteranopia (green-blind)
#716947
Tritanopia (blue-blind)
#C40036
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b3254b;
/* rgb */ color: rgb(179, 37, 75);
/* oklch */ color: oklch(50.8% 0.177 11.4);
Tailwind
colors: {
  custom: {
    50: '#d16e7d',
    500: '#b3254b',
    950: '#000000',
  },
}
SCSS
$custom: #b3254b;
$custom-light: #d16e7d;
$custom-dark: #000000;
JSON
{
  "hex": "#b3254b",
  "rgb": {
    "r": 179,
    "g": 37,
    "b": 75
  },
  "hsl": {
    "h": 343.944,
    "s": 65.741,
    "l": 42.353
  },
  "oklch": {
    "l": 0.50781,
    "c": 0.17714,
    "h": 11.4
  },
  "luminance": 0.11415
}

Semantic roles & 50–950 ramp

primary
#B3254B
secondary
#6BC8B0
accent
#E9BB3F
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#150809
muted
#837B7B

Preview Lab

Preview with #B3254B

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

Preview Lab → · Contrast checker → · Palette generator →

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