#B255A2#B255A2

#B255A2 is a mid, vivid pink. Relative luminance 0.186; OKLCH L 59.0% C 0.153 H 334.3°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#B255A2
RGBrgb(178, 85, 162)
HSLhsl(310, 38%, 52%)
HSVhsv(310, 52%, 70%)
CMYKcmyk(0%, 52.2%, 9%, 30.2%)
CIE-LABlab(50.18, 47.93, -24.54)
CIE-LCHlch(50.18, 53.85, 332.89°)
OKLaboklab(59.02% 0.1383 -0.0666)
OKLCHoklch(59.02% 0.153 334.3)
XYZxyz(28.1302, 18.5725, 36.2786)
Luminance0.1857 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B255A2 #55B265
analogous
#9455B2 #B255A2 #B25574
triadic
#B255A2 #A2B255 #55A2B2
tetradic
#B255A2 #B29455 #55B265 #5574B2
square
#B255A2 #B29455 #55B265 #5574B2
split-complementary
#B255A2 #74B255 #55B294
monochromatic
#612C58 #8B3F7E #B255A2 #C57FB9 #D8A9D0

Accessibility & contrast

On white

4.45
#B255A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#B255A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B255A2
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B255A2#FFFFFF#000000##000000
##B255A21.004.454.714.71
#FFFFFF4.451.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#546FA5
Deuteranopia (green-blind)
#6F7C9F
Tritanopia (blue-blind)
#B95A74
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b255a2;
/* rgb */ color: rgb(178, 85, 162);
/* oklch */ color: oklch(59.0% 0.153 334.3);
Tailwind
colors: {
  custom: {
    50: '#cb89bd',
    500: '#b255a2',
    950: '#000000',
  },
}
SCSS
$custom: #b255a2;
$custom-light: #cb89bd;
$custom-dark: #000000;
JSON
{
  "hex": "#b255a2",
  "rgb": {
    "r": 178,
    "g": 85,
    "b": 162
  },
  "hsl": {
    "h": 310.323,
    "s": 37.652,
    "l": 51.569
  },
  "oklch": {
    "l": 0.59022,
    "c": 0.15348,
    "h": 334.3
  },
  "luminance": 0.18571
}

Semantic roles & 50–950 ramp

primary
#B255A2
secondary
#9DC6A4
accent
#CE6E5A
background
#FCF8FB
surface
#F9F0F6
border
#D2CBD0
text
#140C12
muted
#827D81

Preview Lab

Preview with #B255A2

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

Preview Lab → · Contrast checker → · Palette generator →

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