#B0237F#B0237F

#B0237F is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.9% C 0.195 H 346.3°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#B0237F
RGBrgb(176, 35, 127)
HSLhsl(321, 67%, 41%)
HSVhsv(321, 80%, 69%)
CMYKcmyk(0%, 80.1%, 27.8%, 31%)
CIE-LABlab(41.16, 62.16, -17.38)
CIE-LCHlch(41.16, 64.54, 344.38°)
OKLaboklab(51.87% 0.1892 -0.0461)
OKLCHoklch(51.87% 0.195 346.3)
XYZxyz(22.3374, 11.9670, 21.2081)
Luminance0.1196 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0237F #23B054
analogous
#9B23B0 #B0237F #B02339
triadic
#B0237F #7FB023 #237FB0
tetradic
#B0237F #B09B23 #23B054 #2339B0
square
#B0237F #B09B23 #23B054 #2339B0
split-complementary
#B0237F #39B023 #23B09B
monochromatic
#4A0F35 #7D195A #B0237F #D839A0 #E26CB9

Accessibility & contrast

On white

6.19
#B0237F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#B0237F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B0237F
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0237F#FFFFFF#000000##FFFFFF
##B0237F1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395281
Deuteranopia (green-blind)
#636A7C
Tritanopia (blue-blind)
#BC1E4F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b0237f;
/* rgb */ color: rgb(176, 35, 127);
/* oklch */ color: oklch(51.9% 0.195 346.3);
Tailwind
colors: {
  custom: {
    50: '#cc6fa4',
    500: '#b0237f',
    950: '#000000',
  },
}
SCSS
$custom: #b0237f;
$custom-light: #cc6fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#b0237f",
  "rgb": {
    "r": 176,
    "g": 35,
    "b": 127
  },
  "hsl": {
    "h": 320.851,
    "s": 66.825,
    "l": 41.373
  },
  "oklch": {
    "l": 0.51867,
    "c": 0.19476,
    "h": 346.3
  },
  "luminance": 0.11964
}

Semantic roles & 50–950 ramp

primary
#B0237F
secondary
#67C889
accent
#EA7A3E
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14080F
muted
#837B7F

Preview Lab

Preview with #B0237F

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

Preview Lab → · Contrast checker → · Palette generator →

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