#B2407E#B2407E

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

Color values

HEX#B2407E
RGBrgb(178, 64, 126)
HSLhsl(327, 47%, 47%)
HSVhsv(327, 64%, 70%)
CMYKcmyk(0%, 64%, 29.2%, 30.2%)
CIE-LABlab(45.14, 52.33, -10.69)
CIE-LCHlch(45.14, 53.41, 348.46°)
OKLaboklab(54.83% 0.159 -0.0278)
OKLCHoklch(54.83% 0.161 350.1)
XYZxyz(23.9605, 14.6406, 21.2987)
Luminance0.1464 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2407E #40B274
analogous
#AD40B2 #B2407E #B24045
triadic
#B2407E #7EB240 #407EB2
tetradic
#B2407E #B2AD40 #40B274 #4045B2
square
#B2407E #B2AD40 #40B274 #4045B2
split-complementary
#B2407E #45B240 #40B2AD
monochromatic
#58203E #85305E #B2407E #C8679C #D894B9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2407E#FFFFFF#000000##FFFFFF
##B2407E1.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5E80
Deuteranopia (green-blind)
#6F727B
Tritanopia (blue-blind)
#BE3B59
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b2407e;
/* rgb */ color: rgb(178, 64, 126);
/* oklch */ color: oklch(54.8% 0.161 350.1);
Tailwind
colors: {
  custom: {
    50: '#cd7ca3',
    500: '#b2407e',
    950: '#000000',
  },
}
SCSS
$custom: #b2407e;
$custom-light: #cd7ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#b2407e",
  "rgb": {
    "r": 178,
    "g": 64,
    "b": 126
  },
  "hsl": {
    "h": 327.368,
    "s": 47.107,
    "l": 47.451
  },
  "oklch": {
    "l": 0.54827,
    "c": 0.16142,
    "h": 350.1
  },
  "luminance": 0.14638
}

Semantic roles & 50–950 ramp

primary
#B2407E
secondary
#8AC4A4
accent
#D78E51
background
#FDF7FA
surface
#FAEEF3
border
#D3C9CD
text
#140A0F
muted
#837C7F

Preview Lab

Preview with #B2407E

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

Preview Lab → · Contrast checker → · Palette generator →

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