#B2295C#B2295C

#B2295C is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.4% C 0.176 H 3.7°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#B2295C
RGBrgb(178, 41, 92)
HSLhsl(338, 63%, 43%)
HSVhsv(338, 77%, 70%)
CMYKcmyk(0%, 77%, 48.3%, 30.2%)
CIE-LABlab(40.94, 57.26, 4.20)
CIE-LCHlch(40.94, 57.41, 4.19°)
OKLaboklab(51.38% 0.1754 0.0113)
OKLCHoklch(51.38% 0.176 3.7)
XYZxyz(21.0866, 11.8264, 11.2955)
Luminance0.1182 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2295C #29B27F
analogous
#B229A0 #B2295C #B23A29
triadic
#B2295C #5CB229 #295CB2
tetradic
#B2295C #A0B229 #29B27F #3A29B2
square
#B2295C #A0B229 #29B27F #3A29B2
split-complementary
#B2295C #29B23A #29A0B2
monochromatic
#4F1229 #801E42 #B2295C #D4447A #DF769D

Accessibility & contrast

On white

6.24
#B2295C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B2295C
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2295C#FFFFFF#000000##FFFFFF
##B2295C1.006.243.366.24
#FFFFFF6.241.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4F5D
Deuteranopia (green-blind)
#6F6A59
Tritanopia (blue-blind)
#C2053F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b2295c;
/* rgb */ color: rgb(178, 41, 92);
/* oklch */ color: oklch(51.4% 0.176 3.7);
Tailwind
colors: {
  custom: {
    50: '#cf7089',
    500: '#b2295c',
    950: '#000000',
  },
}
SCSS
$custom: #b2295c;
$custom-light: #cf7089;
$custom-dark: #000000;
JSON
{
  "hex": "#b2295c",
  "rgb": {
    "r": 178,
    "g": 41,
    "b": 92
  },
  "hsl": {
    "h": 337.664,
    "s": 62.557,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51375,
    "c": 0.17574,
    "h": 3.7
  },
  "luminance": 0.11824
}

Semantic roles & 50–950 ramp

primary
#B2295C
secondary
#70C7A7
accent
#E6A942
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#15080B
muted
#837B7C

Preview Lab

Preview with #B2295C

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

Preview Lab → · Contrast checker → · Palette generator →

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