#C231BB#C231BB

#C231BB is a mid, highly saturated purple. Relative luminance 0.173; OKLCH L 58.7% C 0.231 H 330.2°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#C231BB
RGBrgb(194, 49, 187)
HSLhsl(303, 60%, 48%)
HSVhsv(303, 75%, 76%)
CMYKcmyk(0%, 74.7%, 3.6%, 23.9%)
CIE-LABlab(48.58, 70.61, -41.53)
CIE-LCHlch(48.58, 81.92, 329.53°)
OKLaboklab(58.73% 0.2002 -0.1147)
OKLCHoklch(58.73% 0.231 330.2)
XYZxyz(32.3160, 17.2564, 48.6329)
Luminance0.1725 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C231BB #31C238
analogous
#8131C2 #C231BB #C23172
triadic
#C231BB #BBC231 #31BBC2
tetradic
#C231BB #C28131 #31C238 #3172C2
square
#C231BB #C28131 #31C238 #3172C2
split-complementary
#C231BB #72C231 #31C281
monochromatic
#60185D #91258C #C231BB #D65BD0 #E28CDE

Accessibility & contrast

On white

4.72
#C231BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#C231BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C231BB
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C231BB#FFFFFF#000000##FFFFFF
##C231BB1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E67BF
Deuteranopia (green-blind)
#5E7AB7
Tritanopia (blue-blind)
#C94574
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c231bb;
/* rgb */ color: rgb(194, 49, 187);
/* oklch */ color: oklch(58.7% 0.231 330.2);
Tailwind
colors: {
  custom: {
    50: '#d879d0',
    500: '#c231bb',
    950: '#000000',
  },
}
SCSS
$custom: #c231bb;
$custom-light: #d879d0;
$custom-dark: #000000;
JSON
{
  "hex": "#c231bb",
  "rgb": {
    "r": 194,
    "g": 49,
    "b": 187
  },
  "hsl": {
    "h": 302.897,
    "s": 59.671,
    "l": 47.647
  },
  "oklch": {
    "l": 0.58727,
    "c": 0.23068,
    "h": 330.2
  },
  "luminance": 0.17254
}

Semantic roles & 50–950 ramp

primary
#C231BB
secondary
#83CC86
accent
#E34D45
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A14
muted
#837C82

Preview Lab

Preview with #C231BB

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

Preview Lab → · Contrast checker → · Palette generator →

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