#C231BA#C231BA

#C231BA is a mid, highly saturated purple. Relative luminance 0.172; OKLCH L 58.7% C 0.230 H 330.5°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#C231BA
RGBrgb(194, 49, 186)
HSLhsl(303, 60%, 48%)
HSVhsv(303, 75%, 76%)
CMYKcmyk(0%, 74.7%, 4.1%, 23.9%)
CIE-LABlab(48.53, 70.45, -41.03)
CIE-LCHlch(48.53, 81.53, 329.78°)
OKLaboklab(58.67% 0.2001 -0.1132)
OKLCHoklch(58.67% 0.23 330.5)
XYZxyz(32.2093, 17.2137, 48.0710)
Luminance0.1721 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C231BA #31C239
analogous
#8131C2 #C231BA #C23172
triadic
#C231BA #BAC231 #31BAC2
tetradic
#C231BA #C28131 #31C239 #3172C2
square
#C231BA #C28131 #31C239 #3172C2
split-complementary
#C231BA #72C231 #31C281
monochromatic
#60185C #91258B #C231BA #D65BCF #E28CDD

Accessibility & contrast

On white

4.73
#C231BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#C231BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C231BA
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C231BA#FFFFFF#000000##FFFFFF
##C231BA1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c231ba;
/* rgb */ color: rgb(194, 49, 186);
/* oklch */ color: oklch(58.7% 0.230 330.5);
Tailwind
colors: {
  custom: {
    50: '#d879cf',
    500: '#c231ba',
    950: '#000000',
  },
}
SCSS
$custom: #c231ba;
$custom-light: #d879cf;
$custom-dark: #000000;
JSON
{
  "hex": "#c231ba",
  "rgb": {
    "r": 194,
    "g": 49,
    "b": 186
  },
  "hsl": {
    "h": 303.31,
    "s": 59.671,
    "l": 47.647
  },
  "oklch": {
    "l": 0.58672,
    "c": 0.22996,
    "h": 330.5
  },
  "luminance": 0.17211
}

Semantic roles & 50–950 ramp

primary
#C231BA
secondary
#83CC87
accent
#E34E45
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A14
muted
#837C82

Preview Lab

Preview with #C231BA

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

Preview Lab → · Contrast checker → · Palette generator →

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