#B2295F#B2295F

#B2295F is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.5% C 0.177 H 2.2°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#B2295F
RGBrgb(178, 41, 95)
HSLhsl(336, 63%, 43%)
HSVhsv(336, 77%, 70%)
CMYKcmyk(0%, 77%, 46.6%, 30.2%)
CIE-LABlab(41.02, 57.53, 2.43)
CIE-LCHlch(41.02, 57.58, 2.42°)
OKLaboklab(51.47% 0.1764 0.0069)
OKLCHoklch(51.47% 0.177 2.2)
XYZxyz(21.2203, 11.8799, 11.9999)
Luminance0.1188 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2295F #29B27C
analogous
#B229A4 #B2295F #B23729
triadic
#B2295F #5FB229 #295FB2
tetradic
#B2295F #A4B229 #29B27C #3729B2
square
#B2295F #A4B229 #29B27C #3729B2
split-complementary
#B2295F #29B237 #29A4B2
monochromatic
#4F122A #801E44 #B2295F #D4447D #DF76A0

Accessibility & contrast

On white

6.22
#B2295F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#B2295F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B2295F
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2295F#FFFFFF#000000##FFFFFF
##B2295F1.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5060
Deuteranopia (green-blind)
#6E6A5C
Tritanopia (blue-blind)
#C20941
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b2295f;
/* rgb */ color: rgb(178, 41, 95);
/* oklch */ color: oklch(51.5% 0.177 2.2);
Tailwind
colors: {
  custom: {
    50: '#cf708c',
    500: '#b2295f',
    950: '#000000',
  },
}
SCSS
$custom: #b2295f;
$custom-light: #cf708c;
$custom-dark: #000000;
JSON
{
  "hex": "#b2295f",
  "rgb": {
    "r": 178,
    "g": 41,
    "b": 95
  },
  "hsl": {
    "h": 336.35,
    "s": 62.557,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51466,
    "c": 0.17657,
    "h": 2.2
  },
  "luminance": 0.11877
}

Semantic roles & 50–950 ramp

primary
#B2295F
secondary
#70C7A5
accent
#E6A542
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#15080C
muted
#837B7D

Preview Lab

Preview with #B2295F

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

Preview Lab → · Contrast checker → · Palette generator →

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