#B2345F#B2345F

#B2345F is a mid, vivid pink. Relative luminance 0.127; OKLCH L 52.5% C 0.165 H 4.1°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#B2345F
RGBrgb(178, 52, 95)
HSLhsl(340, 55%, 45%)
HSVhsv(340, 71%, 70%)
CMYKcmyk(0%, 70.8%, 46.6%, 30.2%)
CIE-LABlab(42.38, 53.73, 4.39)
CIE-LCHlch(42.38, 53.91, 4.67°)
OKLaboklab(52.47% 0.1643 0.0118)
OKLCHoklch(52.47% 0.165 4.1)
XYZxyz(21.6554, 12.7500, 12.1449)
Luminance0.1275 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2345F #34B287
analogous
#B2349E #B2345F #B24834
triadic
#B2345F #5FB234 #345FB2
tetradic
#B2345F #9EB234 #34B287 #4834B2
square
#B2345F #9EB234 #34B287 #4834B2
split-complementary
#B2345F #34B248 #349EB2
monochromatic
#53182C #832646 #B2345F #CE567F #DB85A2

Accessibility & contrast

On white

5.92
#B2345F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#B2345F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B2345F
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2345F#FFFFFF#000000##FFFFFF
##B2345F1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505460
Deuteranopia (green-blind)
#726D5C
Tritanopia (blue-blind)
#C11F46
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b2345f;
/* rgb */ color: rgb(178, 52, 95);
/* oklch */ color: oklch(52.5% 0.165 4.1);
Tailwind
colors: {
  custom: {
    50: '#ce758c',
    500: '#b2345f',
    950: '#000000',
  },
}
SCSS
$custom: #b2345f;
$custom-light: #ce758c;
$custom-dark: #000000;
JSON
{
  "hex": "#b2345f",
  "rgb": {
    "r": 178,
    "g": 52,
    "b": 95
  },
  "hsl": {
    "h": 339.524,
    "s": 54.783,
    "l": 45.098
  },
  "oklch": {
    "l": 0.52468,
    "c": 0.16468,
    "h": 4.1
  },
  "luminance": 0.12747
}

Semantic roles & 50–950 ramp

primary
#B2345F
secondary
#7DC5AC
accent
#DEAB4A
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#15090C
muted
#837B7D

Preview Lab

Preview with #B2345F

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

Preview Lab → · Contrast checker → · Palette generator →

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