#B2407C#B2407C

#B2407C is a mid, vivid pink. Relative luminance 0.146; OKLCH L 54.8% C 0.160 H 351.1°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#B2407C
RGBrgb(178, 64, 124)
HSLhsl(328, 47%, 47%)
HSVhsv(328, 64%, 70%)
CMYKcmyk(0%, 64%, 30.3%, 30.2%)
CIE-LABlab(45.07, 52.07, -9.58)
CIE-LCHlch(45.07, 52.95, 349.58°)
OKLaboklab(54.75% 0.1584 -0.0248)
OKLCHoklch(54.75% 0.16 351.1)
XYZxyz(23.8327, 14.5895, 20.6258)
Luminance0.1459 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2407C #40B276
analogous
#AF40B2 #B2407C #B24043
triadic
#B2407C #7CB240 #407CB2
tetradic
#B2407C #B2AF40 #40B276 #4043B2
square
#B2407C #B2AF40 #40B276 #4043B2
split-complementary
#B2407C #43B240 #40B2AF
monochromatic
#58203D #85305D #B2407C #C8679A #D894B8

Accessibility & contrast

On white

5.36
#B2407C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#B2407C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B2407C
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2407C#FFFFFF#000000##FFFFFF
##B2407C1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505E7E
Deuteranopia (green-blind)
#707279
Tritanopia (blue-blind)
#BF3A59
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b2407c;
/* rgb */ color: rgb(178, 64, 124);
/* oklch */ color: oklch(54.8% 0.160 351.1);
Tailwind
colors: {
  custom: {
    50: '#cd7ca2',
    500: '#b2407c',
    950: '#000000',
  },
}
SCSS
$custom: #b2407c;
$custom-light: #cd7ca2;
$custom-dark: #000000;
JSON
{
  "hex": "#b2407c",
  "rgb": {
    "r": 178,
    "g": 64,
    "b": 124
  },
  "hsl": {
    "h": 328.421,
    "s": 47.107,
    "l": 47.451
  },
  "oklch": {
    "l": 0.54751,
    "c": 0.16036,
    "h": 351.1
  },
  "luminance": 0.14587
}

Semantic roles & 50–950 ramp

primary
#B2407C
secondary
#8AC4A5
accent
#D79051
background
#FDF7F9
surface
#FAEEF2
border
#D3C9CC
text
#140A0F
muted
#837C7E

Preview Lab

Preview with #B2407C

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

Preview Lab → · Contrast checker → · Palette generator →

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