#B23952#B23952

#B23952 is a mid, vivid red. Relative luminance 0.130; OKLCH L 52.6% C 0.157 H 12.1°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#B23952
RGBrgb(178, 57, 82)
HSLhsl(348, 51%, 46%)
HSVhsv(348, 68%, 70%)
CMYKcmyk(0%, 68%, 53.9%, 30.2%)
CIE-LABlab(42.77, 50.62, 13.04)
CIE-LCHlch(42.77, 52.27, 14.44°)
OKLaboklab(52.65% 0.153 0.0329)
OKLCHoklch(52.65% 0.157 12.1)
XYZxyz(21.3481, 13.0033, 9.3667)
Luminance0.1300 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23952 #39B299
analogous
#B2398E #B23952 #B25C39
triadic
#B23952 #52B239 #3952B2
tetradic
#B23952 #8EB239 #39B299 #5C39B2
square
#B23952 #8EB239 #39B299 #5C39B2
split-complementary
#B23952 #39B25C #398EB2
monochromatic
#551B27 #842A3D #B23952 #CB5D74 #DA8B9C

Accessibility & contrast

On white

5.83
#B23952 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#B23952 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23952
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23952#FFFFFF#000000##FFFFFF
##B239521.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#565552
Deuteranopia (green-blind)
#756E4F
Tritanopia (blue-blind)
#C22243
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b23952;
/* rgb */ color: rgb(178, 57, 82);
/* oklch */ color: oklch(52.6% 0.157 12.1);
Tailwind
colors: {
  custom: {
    50: '#cf7782',
    500: '#b23952',
    950: '#000000',
  },
}
SCSS
$custom: #b23952;
$custom-light: #cf7782;
$custom-dark: #000000;
JSON
{
  "hex": "#b23952",
  "rgb": {
    "r": 178,
    "g": 57,
    "b": 82
  },
  "hsl": {
    "h": 347.603,
    "s": 51.489,
    "l": 46.078
  },
  "oklch": {
    "l": 0.52646,
    "c": 0.15653,
    "h": 12.1
  },
  "luminance": 0.13
}

Semantic roles & 50–950 ramp

primary
#B23952
secondary
#82C4B7
accent
#DBBE4D
background
#FDF7F7
surface
#FAEEEE
border
#D3C9C9
text
#15090A
muted
#837B7C

Preview Lab

Preview with #B23952

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

Preview Lab → · Contrast checker → · Palette generator →

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