#B23852#B23852

#B23852 is a mid, vivid red. Relative luminance 0.129; OKLCH L 52.5% C 0.158 H 11.9°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#B23852
RGBrgb(178, 56, 82)
HSLhsl(347, 52%, 46%)
HSVhsv(347, 69%, 70%)
CMYKcmyk(0%, 68.5%, 53.9%, 30.2%)
CIE-LABlab(42.62, 51.03, 12.83)
CIE-LCHlch(42.62, 52.62, 14.12°)
OKLaboklab(52.54% 0.1543 0.0324)
OKLCHoklch(52.54% 0.158 11.9)
XYZxyz(21.2992, 12.9054, 9.3504)
Luminance0.1290 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23852 #38B298
analogous
#B2388F #B23852 #B25B38
triadic
#B23852 #52B238 #3852B2
tetradic
#B23852 #8FB238 #38B298 #5B38B2
square
#B23852 #8FB238 #38B298 #5B38B2
split-complementary
#B23852 #38B25B #388FB2
monochromatic
#551B27 #83293D #B23852 #CC5C73 #DA8A9B

Accessibility & contrast

On white

5.86
#B23852 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#B23852 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23852
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23852#FFFFFF#000000##FFFFFF
##B238521.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b23852;
/* rgb */ color: rgb(178, 56, 82);
/* oklch */ color: oklch(52.5% 0.158 11.9);
Tailwind
colors: {
  custom: {
    50: '#cf7782',
    500: '#b23852',
    950: '#000000',
  },
}
SCSS
$custom: #b23852;
$custom-light: #cf7782;
$custom-dark: #000000;
JSON
{
  "hex": "#b23852",
  "rgb": {
    "r": 178,
    "g": 56,
    "b": 82
  },
  "hsl": {
    "h": 347.213,
    "s": 52.137,
    "l": 45.882
  },
  "oklch": {
    "l": 0.52536,
    "c": 0.15769,
    "h": 11.9
  },
  "luminance": 0.12903
}

Semantic roles & 50–950 ramp

primary
#B23852
secondary
#81C5B6
accent
#DCBD4C
background
#FDF7F7
surface
#FAEEEE
border
#D3C9C9
text
#15090A
muted
#837B7C

Preview Lab

Preview with #B23852

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

Preview Lab → · Contrast checker → · Palette generator →

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