#B2307E#B2307E

#B2307E is a mid, vivid pink. Relative luminance 0.131; OKLCH L 53.2% C 0.182 H 348.3°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#B2307E
RGBrgb(178, 48, 126)
HSLhsl(324, 58%, 44%)
HSVhsv(324, 73%, 70%)
CMYKcmyk(0%, 73%, 29.2%, 30.2%)
CIE-LABlab(42.90, 58.55, -14.08)
CIE-LCHlch(42.90, 60.22, 346.48°)
OKLaboklab(53.18% 0.1783 -0.037)
OKLCHoklch(53.18% 0.182 348.3)
XYZxyz(23.1841, 13.0878, 21.0399)
Luminance0.1308 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2307E #30B264
analogous
#A530B2 #B2307E #B2303D
triadic
#B2307E #7EB230 #307EB2
tetradic
#B2307E #B2A530 #30B264 #303DB2
square
#B2307E #B2A530 #30B264 #303DB2
split-complementary
#B2307E #3DB230 #30B2A5
monochromatic
#52163A #82235C #B2307E #D0509C #DD80B7

Accessibility & contrast

On white

5.81
#B2307E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#B2307E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B2307E
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2307E#FFFFFF#000000##FFFFFF
##B2307E1.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435780
Deuteranopia (green-blind)
#696E7B
Tritanopia (blue-blind)
#BF2A53
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b2307e;
/* rgb */ color: rgb(178, 48, 126);
/* oklch */ color: oklch(53.2% 0.182 348.3);
Tailwind
colors: {
  custom: {
    50: '#cd74a3',
    500: '#b2307e',
    950: '#000000',
  },
}
SCSS
$custom: #b2307e;
$custom-light: #cd74a3;
$custom-dark: #000000;
JSON
{
  "hex": "#b2307e",
  "rgb": {
    "r": 178,
    "g": 48,
    "b": 126
  },
  "hsl": {
    "h": 324,
    "s": 57.522,
    "l": 44.314
  },
  "oklch": {
    "l": 0.53181,
    "c": 0.18212,
    "h": 348.3
  },
  "luminance": 0.13085
}

Semantic roles & 50–950 ramp

primary
#B2307E
secondary
#78C697
accent
#E18547
background
#FDF7FA
surface
#FAEDF3
border
#D3C8CD
text
#14090F
muted
#837B7F

Preview Lab

Preview with #B2307E

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

Preview Lab → · Contrast checker → · Palette generator →

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