#B23175#B23175

#B23175 is a mid, vivid pink. Relative luminance 0.129; OKLCH L 52.9% C 0.176 H 352.6°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#B23175
RGBrgb(178, 49, 117)
HSLhsl(328, 57%, 45%)
HSVhsv(328, 72%, 70%)
CMYKcmyk(0%, 72.5%, 34.3%, 30.2%)
CIE-LABlab(42.69, 57.13, -8.85)
CIE-LCHlch(42.69, 57.81, 351.19°)
OKLaboklab(52.92% 0.1749 -0.0228)
OKLCHoklch(52.92% 0.176 352.6)
XYZxyz(22.6706, 12.9486, 18.1316)
Luminance0.1295 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23175 #31B26E
analogous
#AF31B2 #B23175 #B23135
triadic
#B23175 #75B231 #3175B2
tetradic
#B23175 #B2AF31 #31B26E #3135B2
square
#B23175 #B2AF31 #31B26E #3135B2
split-complementary
#B23175 #35B231 #31B2AF
monochromatic
#521736 #822455 #B23175 #CF5194 #DC81B1

Accessibility & contrast

On white

5.85
#B23175 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#B23175 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23175
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23175#FFFFFF#000000##FFFFFF
##B231751.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475677
Deuteranopia (green-blind)
#6C6D72
Tritanopia (blue-blind)
#C0274F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b23175;
/* rgb */ color: rgb(178, 49, 117);
/* oklch */ color: oklch(52.9% 0.176 352.6);
Tailwind
colors: {
  custom: {
    50: '#cd749c',
    500: '#b23175',
    950: '#000000',
  },
}
SCSS
$custom: #b23175;
$custom-light: #cd749c;
$custom-dark: #000000;
JSON
{
  "hex": "#b23175",
  "rgb": {
    "r": 178,
    "g": 49,
    "b": 117
  },
  "hsl": {
    "h": 328.372,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52918,
    "c": 0.17637,
    "h": 352.6
  },
  "luminance": 0.12946
}

Semantic roles & 50–950 ramp

primary
#B23175
secondary
#79C59D
accent
#E09048
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #B23175

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

Preview Lab → · Contrast checker → · Palette generator →

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