#B2407D#B2407D

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

Color values

HEX#B2407D
RGBrgb(178, 64, 125)
HSLhsl(328, 47%, 47%)
HSVhsv(328, 64%, 70%)
CMYKcmyk(0%, 64%, 29.8%, 30.2%)
CIE-LABlab(45.10, 52.20, -10.13)
CIE-LCHlch(45.10, 53.18, 349.02°)
OKLaboklab(54.79% 0.1587 -0.0263)
OKLCHoklch(54.79% 0.161 350.6)
XYZxyz(23.8963, 14.6149, 20.9606)
Luminance0.1461 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2407D #40B275
analogous
#AE40B2 #B2407D #B24044
triadic
#B2407D #7DB240 #407DB2
tetradic
#B2407D #B2AE40 #40B275 #4044B2
square
#B2407D #B2AE40 #40B275 #4044B2
split-complementary
#B2407D #44B240 #40B2AE
monochromatic
#58203E #85305D #B2407D #C8679B #D894B9

Accessibility & contrast

On white

5.35
#B2407D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B2407D
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2407D#FFFFFF#000000##FFFFFF
##B2407D1.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505E7F
Deuteranopia (green-blind)
#70727A
Tritanopia (blue-blind)
#BF3B59
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b2407d;
/* rgb */ color: rgb(178, 64, 125);
/* oklch */ color: oklch(54.8% 0.161 350.6);
Tailwind
colors: {
  custom: {
    50: '#cd7ca2',
    500: '#b2407d',
    950: '#000000',
  },
}
SCSS
$custom: #b2407d;
$custom-light: #cd7ca2;
$custom-dark: #000000;
JSON
{
  "hex": "#b2407d",
  "rgb": {
    "r": 178,
    "g": 64,
    "b": 125
  },
  "hsl": {
    "h": 327.895,
    "s": 47.107,
    "l": 47.451
  },
  "oklch": {
    "l": 0.54789,
    "c": 0.16089,
    "h": 350.6
  },
  "luminance": 0.14612
}

Semantic roles & 50–950 ramp

primary
#B2407D
secondary
#8AC4A5
accent
#D78F51
background
#FDF7FA
surface
#FAEEF3
border
#D3C9CD
text
#140A0F
muted
#837C7F

Preview Lab

Preview with #B2407D

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

Preview Lab → · Contrast checker → · Palette generator →

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