#B23962#B23962

#B23962 is a mid, vivid pink. Relative luminance 0.133; OKLCH L 53.1% C 0.159 H 3.6°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#B23962
RGBrgb(178, 57, 98)
HSLhsl(340, 51%, 46%)
HSVhsv(340, 68%, 70%)
CMYKcmyk(0%, 68%, 44.9%, 30.2%)
CIE-LABlab(43.18, 52.06, 3.66)
CIE-LCHlch(43.18, 52.19, 4.02°)
OKLaboklab(53.08% 0.1591 0.01)
OKLCHoklch(53.08% 0.159 3.6)
XYZxyz(22.0295, 13.2758, 12.9553)
Luminance0.1327 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23962 #39B289
analogous
#B2399E #B23962 #B24C39
triadic
#B23962 #62B239 #3962B2
tetradic
#B23962 #9EB239 #39B289 #4C39B2
square
#B23962 #9EB239 #39B289 #4C39B2
split-complementary
#B23962 #39B24C #399EB2
monochromatic
#551B2F #842A48 #B23962 #CB5D82 #DA8BA6

Accessibility & contrast

On white

5.75
#B23962 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#B23962 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23962
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23962#FFFFFF#000000##FFFFFF
##B239621.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#535763
Deuteranopia (green-blind)
#736F5F
Tritanopia (blue-blind)
#C12849
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b23962;
/* rgb */ color: rgb(178, 57, 98);
/* oklch */ color: oklch(53.1% 0.159 3.6);
Tailwind
colors: {
  custom: {
    50: '#ce778e',
    500: '#b23962',
    950: '#000000',
  },
}
SCSS
$custom: #b23962;
$custom-light: #ce778e;
$custom-dark: #000000;
JSON
{
  "hex": "#b23962",
  "rgb": {
    "r": 178,
    "g": 57,
    "b": 98
  },
  "hsl": {
    "h": 339.669,
    "s": 51.489,
    "l": 46.078
  },
  "oklch": {
    "l": 0.53082,
    "c": 0.15943,
    "h": 3.6
  },
  "luminance": 0.13273
}

Semantic roles & 50–950 ramp

primary
#B23962
secondary
#82C4AE
accent
#DBAB4D
background
#FDF7F8
surface
#FAEEF0
border
#D3C9CB
text
#14090C
muted
#837B7D

Preview Lab

Preview with #B23962

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

Preview Lab → · Contrast checker → · Palette generator →

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