#C031B6#C031B6

#C031B6 is a mid, highly saturated purple. Relative luminance 0.168; OKLCH L 58.2% C 0.226 H 331.2°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#C031B6
RGBrgb(192, 49, 182)
HSLhsl(304, 59%, 47%)
HSVhsv(304, 74%, 75%)
CMYKcmyk(0%, 74.5%, 5.2%, 24.7%)
CIE-LABlab(47.99, 69.41, -39.58)
CIE-LCHlch(47.99, 79.90, 330.31°)
OKLaboklab(58.15% 0.198 -0.1091)
OKLCHoklch(58.15% 0.226 331.2)
XYZxyz(31.2800, 16.7830, 45.8389)
Luminance0.1678 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C031B6 #31C03B
analogous
#8331C0 #C031B6 #C0316E
triadic
#C031B6 #B6C031 #31B6C0
tetradic
#C031B6 #C08331 #31C03B #316EC0
square
#C031B6 #C08331 #31C03B #316EC0
split-complementary
#C031B6 #6EC031 #31C083
monochromatic
#5E185A #8F2588 #C031B6 #D559CC #E18ADB

Accessibility & contrast

On white

4.82
#C031B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#C031B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C031B6
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C031B6#FFFFFF#000000##FFFFFF
##C031B61.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2365BA
Deuteranopia (green-blind)
#5F79B3
Tritanopia (blue-blind)
#C84371
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c031b6;
/* rgb */ color: rgb(192, 49, 182);
/* oklch */ color: oklch(58.2% 0.226 331.2);
Tailwind
colors: {
  custom: {
    50: '#d778cc',
    500: '#c031b6',
    950: '#000000',
  },
}
SCSS
$custom: #c031b6;
$custom-light: #d778cc;
$custom-dark: #000000;
JSON
{
  "hex": "#c031b6",
  "rgb": {
    "r": 192,
    "g": 49,
    "b": 182
  },
  "hsl": {
    "h": 304.196,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.58152,
    "c": 0.22608,
    "h": 331.2
  },
  "luminance": 0.1678
}

Semantic roles & 50–950 ramp

primary
#C031B6
secondary
#82CB87
accent
#E35045
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A13
muted
#837C82

Preview Lab

Preview with #C031B6

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

Preview Lab → · Contrast checker → · Palette generator →

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