#C231B8#C231B8

#C231B8 is a mid, highly saturated purple. Relative luminance 0.171; OKLCH L 58.6% C 0.229 H 331.1°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#C231B8
RGBrgb(194, 49, 184)
HSLhsl(304, 60%, 48%)
HSVhsv(304, 75%, 76%)
CMYKcmyk(0%, 74.7%, 5.2%, 23.9%)
CIE-LABlab(48.42, 70.15, -40.03)
CIE-LCHlch(48.42, 80.77, 330.29°)
OKLaboklab(58.56% 0.2001 -0.1103)
OKLCHoklch(58.56% 0.229 331.1)
XYZxyz(31.9981, 17.1292, 46.9591)
Luminance0.1713 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C231B8 #31C23B
analogous
#8431C2 #C231B8 #C2316F
triadic
#C231B8 #B8C231 #31B8C2
tetradic
#C231B8 #C28431 #31C23B #316FC2
square
#C231B8 #C28431 #31C23B #316FC2
split-complementary
#C231B8 #6FC231 #31C284
monochromatic
#60185B #91258A #C231B8 #D65BCD #E28CDC

Accessibility & contrast

On white

4.75
#C231B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#C231B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C231B8
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C231B8#FFFFFF#000000##FFFFFF
##C231B81.004.754.434.75
#FFFFFF4.751.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2266BC
Deuteranopia (green-blind)
#5F7AB5
Tritanopia (blue-blind)
#CA4472
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c231b8;
/* rgb */ color: rgb(194, 49, 184);
/* oklch */ color: oklch(58.6% 0.229 331.1);
Tailwind
colors: {
  custom: {
    50: '#d879ce',
    500: '#c231b8',
    950: '#000000',
  },
}
SCSS
$custom: #c231b8;
$custom-light: #d879ce;
$custom-dark: #000000;
JSON
{
  "hex": "#c231b8",
  "rgb": {
    "r": 194,
    "g": 49,
    "b": 184
  },
  "hsl": {
    "h": 304.138,
    "s": 59.671,
    "l": 47.647
  },
  "oklch": {
    "l": 0.58562,
    "c": 0.22851,
    "h": 331.1
  },
  "luminance": 0.17127
}

Semantic roles & 50–950 ramp

primary
#C231B8
secondary
#83CC88
accent
#E35045
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A13
muted
#837C82

Preview Lab

Preview with #C231B8

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

Preview Lab → · Contrast checker → · Palette generator →

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