#B4307F#B4307F

#B4307F is a mid, vivid pink. Relative luminance 0.134; OKLCH L 53.5% C 0.184 H 348.4°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#B4307F
RGBrgb(180, 48, 127)
HSLhsl(324, 58%, 45%)
HSVhsv(324, 73%, 71%)
CMYKcmyk(0%, 73.3%, 29.4%, 29.4%)
CIE-LABlab(43.29, 59.20, -14.07)
CIE-LCHlch(43.29, 60.85, 346.63°)
OKLaboklab(53.55% 0.1804 -0.0369)
OKLCHoklch(53.55% 0.184 348.4)
XYZxyz(23.7113, 13.3522, 21.4031)
Luminance0.1335 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4307F #30B465
analogous
#A730B4 #B4307F #B4303D
triadic
#B4307F #7FB430 #307FB4
tetradic
#B4307F #B4A730 #30B465 #303DB4
square
#B4307F #B4A730 #30B465 #303DB4
split-complementary
#B4307F #3DB430 #30B4A7
monochromatic
#53163B #84235D #B4307F #D1519D #DD81B8

Accessibility & contrast

On white

5.72
#B4307F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#B4307F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4307F
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4307F#FFFFFF#000000##FFFFFF
##B4307F1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445881
Deuteranopia (green-blind)
#6A6F7C
Tritanopia (blue-blind)
#C12A53
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b4307f;
/* rgb */ color: rgb(180, 48, 127);
/* oklch */ color: oklch(53.5% 0.184 348.4);
Tailwind
colors: {
  custom: {
    50: '#cf74a4',
    500: '#b4307f',
    950: '#000000',
  },
}
SCSS
$custom: #b4307f;
$custom-light: #cf74a4;
$custom-dark: #000000;
JSON
{
  "hex": "#b4307f",
  "rgb": {
    "r": 180,
    "g": 48,
    "b": 127
  },
  "hsl": {
    "h": 324.091,
    "s": 57.895,
    "l": 44.706
  },
  "oklch": {
    "l": 0.53547,
    "c": 0.18414,
    "h": 348.4
  },
  "luminance": 0.1335
}

Semantic roles & 50–950 ramp

primary
#B4307F
secondary
#79C698
accent
#E18547
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14090F
muted
#837B7F

Preview Lab

Preview with #B4307F

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

Preview Lab → · Contrast checker → · Palette generator →

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