#C231B1#C231B1

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

Color values

HEX#C231B1
RGBrgb(194, 49, 177)
HSLhsl(307, 60%, 48%)
HSVhsv(307, 75%, 76%)
CMYKcmyk(0%, 74.7%, 8.8%, 23.9%)
CIE-LABlab(48.06, 69.09, -36.50)
CIE-LCHlch(48.06, 78.14, 332.15°)
OKLaboklab(58.19% 0.1998 -0.1001)
OKLCHoklch(58.19% 0.224 333.4)
XYZxyz(31.2825, 16.8430, 43.1899)
Luminance0.1684 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C231B1 #31C242
analogous
#8A31C2 #C231B1 #C23169
triadic
#C231B1 #B1C231 #31B1C2
tetradic
#C231B1 #C28A31 #31C242 #3169C2
square
#C231B1 #C28A31 #31C242 #3169C2
split-complementary
#C231B1 #69C231 #31C28A
monochromatic
#601858 #912584 #C231B1 #D65BC7 #E28CD8

Accessibility & contrast

On white

4.81
#C231B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#C231B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C231B1
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C231B1#FFFFFF#000000##FFFFFF
##C231B11.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B65B4
Deuteranopia (green-blind)
#6379AE
Tritanopia (blue-blind)
#CB406E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c231b1;
/* rgb */ color: rgb(194, 49, 177);
/* oklch */ color: oklch(58.2% 0.224 333.4);
Tailwind
colors: {
  custom: {
    50: '#d878c9',
    500: '#c231b1',
    950: '#000000',
  },
}
SCSS
$custom: #c231b1;
$custom-light: #d878c9;
$custom-dark: #000000;
JSON
{
  "hex": "#c231b1",
  "rgb": {
    "r": 194,
    "g": 49,
    "b": 177
  },
  "hsl": {
    "h": 307.034,
    "s": 59.671,
    "l": 47.647
  },
  "oklch": {
    "l": 0.58186,
    "c": 0.22353,
    "h": 333.4
  },
  "luminance": 0.1684
}

Semantic roles & 50–950 ramp

primary
#C231B1
secondary
#83CC8B
accent
#E35745
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C231B1

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

Preview Lab → · Contrast checker → · Palette generator →

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