#B2407F#B2407F

#B2407F is a mid, vivid pink. Relative luminance 0.147; OKLCH L 54.9% C 0.162 H 349.6°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#B2407F
RGBrgb(178, 64, 127)
HSLhsl(327, 47%, 47%)
HSVhsv(327, 64%, 70%)
CMYKcmyk(0%, 64%, 28.7%, 30.2%)
CIE-LABlab(45.17, 52.46, -11.24)
CIE-LCHlch(45.17, 53.65, 347.90°)
OKLaboklab(54.87% 0.1593 -0.0293)
OKLCHoklch(54.87% 0.162 349.6)
XYZxyz(24.0253, 14.6665, 21.6402)
Luminance0.1466 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2407F #40B273
analogous
#AC40B2 #B2407F #B24046
triadic
#B2407F #7FB240 #407FB2
tetradic
#B2407F #B2AC40 #40B273 #4046B2
square
#B2407F #B2AC40 #40B273 #4046B2
split-complementary
#B2407F #46B240 #40B2AC
monochromatic
#58203F #85305F #B2407F #C8679D #D894BA

Accessibility & contrast

On white

5.34
#B2407F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#B2407F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B2407F
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2407F#FFFFFF#000000##FFFFFF
##B2407F1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5E81
Deuteranopia (green-blind)
#6F727C
Tritanopia (blue-blind)
#BE3B5A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b2407f;
/* rgb */ color: rgb(178, 64, 127);
/* oklch */ color: oklch(54.9% 0.162 349.6);
Tailwind
colors: {
  custom: {
    50: '#cd7ca4',
    500: '#b2407f',
    950: '#000000',
  },
}
SCSS
$custom: #b2407f;
$custom-light: #cd7ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#b2407f",
  "rgb": {
    "r": 178,
    "g": 64,
    "b": 127
  },
  "hsl": {
    "h": 326.842,
    "s": 47.107,
    "l": 47.451
  },
  "oklch": {
    "l": 0.54866,
    "c": 0.16195,
    "h": 349.6
  },
  "luminance": 0.14664
}

Semantic roles & 50–950 ramp

primary
#B2407F
secondary
#8AC4A4
accent
#D78D51
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#140A0F
muted
#837C7F

Preview Lab

Preview with #B2407F

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

Preview Lab → · Contrast checker → · Palette generator →

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