#B23462#B23462

#B23462 is a mid, vivid pink. Relative luminance 0.128; OKLCH L 52.6% C 0.166 H 2.6°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#B23462
RGBrgb(178, 52, 98)
HSLhsl(338, 55%, 45%)
HSVhsv(338, 71%, 70%)
CMYKcmyk(0%, 70.8%, 44.9%, 30.2%)
CIE-LABlab(42.47, 54.01, 2.64)
CIE-LCHlch(42.47, 54.08, 2.80°)
OKLaboklab(52.56% 0.1653 0.0074)
OKLCHoklch(52.56% 0.166 2.6)
XYZxyz(21.7944, 12.8056, 12.8769)
Luminance0.1280 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23462 #34B284
analogous
#B234A1 #B23462 #B24534
triadic
#B23462 #62B234 #3462B2
tetradic
#B23462 #A1B234 #34B284 #4534B2
square
#B23462 #A1B234 #34B284 #4534B2
split-complementary
#B23462 #34B245 #34A1B2
monochromatic
#53182E #832648 #B23462 #CE5681 #DB85A5

Accessibility & contrast

On white

5.90
#B23462 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#B23462 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23462
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23462#FFFFFF#000000##FFFFFF
##B234621.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5563
Deuteranopia (green-blind)
#716D5F
Tritanopia (blue-blind)
#C12147
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b23462;
/* rgb */ color: rgb(178, 52, 98);
/* oklch */ color: oklch(52.6% 0.166 2.6);
Tailwind
colors: {
  custom: {
    50: '#ce758e',
    500: '#b23462',
    950: '#000000',
  },
}
SCSS
$custom: #b23462;
$custom-light: #ce758e;
$custom-dark: #000000;
JSON
{
  "hex": "#b23462",
  "rgb": {
    "r": 178,
    "g": 52,
    "b": 98
  },
  "hsl": {
    "h": 338.095,
    "s": 54.783,
    "l": 45.098
  },
  "oklch": {
    "l": 0.52558,
    "c": 0.16551,
    "h": 2.6
  },
  "luminance": 0.12803
}

Semantic roles & 50–950 ramp

primary
#B23462
secondary
#7DC5AB
accent
#DEA84A
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#15090C
muted
#837B7D

Preview Lab

Preview with #B23462

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

Preview Lab → · Contrast checker → · Palette generator →

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