#C138A8#C138A8

#C138A8 is a mid, highly saturated pink. Relative luminance 0.170; OKLCH L 58.2% C 0.209 H 336.3°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#C138A8
RGBrgb(193, 56, 168)
HSLhsl(311, 55%, 49%)
HSVhsv(311, 71%, 76%)
CMYKcmyk(0%, 71%, 13%, 24.3%)
CIE-LABlab(48.25, 65.26, -30.90)
CIE-LCHlch(48.25, 72.21, 334.66°)
OKLaboklab(58.15% 0.1914 -0.0841)
OKLCHoklch(58.15% 0.209 336.3)
XYZxyz(30.4748, 16.9957, 38.7137)
Luminance0.1699 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C138A8 #38C151
analogous
#9638C1 #C138A8 #C13864
triadic
#C138A8 #A8C138 #38A8C1
tetradic
#C138A8 #C19638 #38C151 #3864C1
square
#C138A8 #C19638 #38C151 #3864C1
split-complementary
#C138A8 #64C138 #38C196
monochromatic
#621C55 #922A7F #C138A8 #D264BE #E094D2

Accessibility & contrast

On white

4.77
#C138A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#C138A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C138A8
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C138A8#FFFFFF#000000##FFFFFF
##C138A81.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A65AB
Deuteranopia (green-blind)
#697AA5
Tritanopia (blue-blind)
#CB416C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c138a8;
/* rgb */ color: rgb(193, 56, 168);
/* oklch */ color: oklch(58.2% 0.209 336.3);
Tailwind
colors: {
  custom: {
    50: '#d77bc2',
    500: '#c138a8',
    950: '#000000',
  },
}
SCSS
$custom: #c138a8;
$custom-light: #d77bc2;
$custom-dark: #000000;
JSON
{
  "hex": "#c138a8",
  "rgb": {
    "r": 193,
    "g": 56,
    "b": 168
  },
  "hsl": {
    "h": 310.949,
    "s": 55.02,
    "l": 48.824
  },
  "oklch": {
    "l": 0.58151,
    "c": 0.20909,
    "h": 336.3
  },
  "luminance": 0.16993
}

Semantic roles & 50–950 ramp

primary
#C138A8
secondary
#8ACB96
accent
#DE6549
background
#FDF7FB
surface
#FBEEF7
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C138A8

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

Preview Lab → · Contrast checker → · Palette generator →

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