#C231BD#C231BD

#C231BD is a mid, highly saturated purple. Relative luminance 0.173; OKLCH L 58.8% C 0.232 H 329.6°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#C231BD
RGBrgb(194, 49, 189)
HSLhsl(302, 60%, 48%)
HSVhsv(302, 75%, 76%)
CMYKcmyk(0%, 74.7%, 2.6%, 23.9%)
CIE-LABlab(48.69, 70.92, -42.53)
CIE-LCHlch(48.69, 82.69, 329.05°)
OKLaboklab(58.84% 0.2002 -0.1176)
OKLCHoklch(58.84% 0.232 329.6)
XYZxyz(32.5315, 17.3426, 49.7683)
Luminance0.1734 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C231BD #31C236
analogous
#7E31C2 #C231BD #C23174
triadic
#C231BD #BDC231 #31BDC2
tetradic
#C231BD #C27E31 #31C236 #3174C2
square
#C231BD #C27E31 #31C236 #3174C2
split-complementary
#C231BD #74C231 #31C27E
monochromatic
#60185E #91258D #C231BD #D65BD1 #E28CDF

Accessibility & contrast

On white

4.70
#C231BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#C231BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C231BD
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C231BD#FFFFFF#000000##FFFFFF
##C231BD1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A67C1
Deuteranopia (green-blind)
#5D7AB9
Tritanopia (blue-blind)
#C94675
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c231bd;
/* rgb */ color: rgb(194, 49, 189);
/* oklch */ color: oklch(58.8% 0.232 329.6);
Tailwind
colors: {
  custom: {
    50: '#d879d1',
    500: '#c231bd',
    950: '#000000',
  },
}
SCSS
$custom: #c231bd;
$custom-light: #d879d1;
$custom-dark: #000000;
JSON
{
  "hex": "#c231bd",
  "rgb": {
    "r": 194,
    "g": 49,
    "b": 189
  },
  "hsl": {
    "h": 302.069,
    "s": 59.671,
    "l": 47.647
  },
  "oklch": {
    "l": 0.58839,
    "c": 0.23214,
    "h": 329.6
  },
  "luminance": 0.1734
}

Semantic roles & 50–950 ramp

primary
#C231BD
secondary
#83CC85
accent
#E34A45
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A14
muted
#837C82

Preview Lab

Preview with #C231BD

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

Preview Lab → · Contrast checker → · Palette generator →

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