#B2295B#B2295B

#B2295B is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.3% C 0.175 H 4.2°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#B2295B
RGBrgb(178, 41, 91)
HSLhsl(338, 63%, 43%)
HSVhsv(338, 77%, 70%)
CMYKcmyk(0%, 77%, 48.9%, 30.2%)
CIE-LABlab(40.91, 57.17, 4.79)
CIE-LCHlch(40.91, 57.37, 4.79°)
OKLaboklab(51.35% 0.175 0.0128)
OKLCHoklch(51.35% 0.175 4.2)
XYZxyz(21.0432, 11.8091, 11.0668)
Luminance0.1181 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2295B #29B280
analogous
#B2299F #B2295B #B23B29
triadic
#B2295B #5BB229 #295BB2
tetradic
#B2295B #9FB229 #29B280 #3B29B2
square
#B2295B #9FB229 #29B280 #3B29B2
split-complementary
#B2295B #29B23B #299FB2
monochromatic
#4F1228 #801E42 #B2295B #D44479 #DF769C

Accessibility & contrast

On white

6.25
#B2295B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#B2295B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B2295B
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2295B#FFFFFF#000000##FFFFFF
##B2295B1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4F5C
Deuteranopia (green-blind)
#6F6A58
Tritanopia (blue-blind)
#C2043F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b2295b;
/* rgb */ color: rgb(178, 41, 91);
/* oklch */ color: oklch(51.3% 0.175 4.2);
Tailwind
colors: {
  custom: {
    50: '#cf7089',
    500: '#b2295b',
    950: '#000000',
  },
}
SCSS
$custom: #b2295b;
$custom-light: #cf7089;
$custom-dark: #000000;
JSON
{
  "hex": "#b2295b",
  "rgb": {
    "r": 178,
    "g": 41,
    "b": 91
  },
  "hsl": {
    "h": 338.102,
    "s": 62.557,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51345,
    "c": 0.17549,
    "h": 4.2
  },
  "luminance": 0.11806
}

Semantic roles & 50–950 ramp

primary
#B2295B
secondary
#70C7A7
accent
#E6AA42
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15080B
muted
#837B7C

Preview Lab

Preview with #B2295B

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

Preview Lab → · Contrast checker → · Palette generator →

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