#C138A4#C138A4

#C138A4 is a mid, highly saturated pink. Relative luminance 0.168; OKLCH L 58.0% C 0.206 H 337.7°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#C138A4
RGBrgb(193, 56, 164)
HSLhsl(313, 55%, 49%)
HSVhsv(313, 71%, 76%)
CMYKcmyk(0%, 71%, 15%, 24.3%)
CIE-LABlab(48.07, 64.68, -28.83)
CIE-LCHlch(48.07, 70.81, 335.98°)
OKLaboklab(57.96% 0.1909 -0.0782)
OKLCHoklch(57.96% 0.206 337.7)
XYZxyz(30.1079, 16.8489, 36.7813)
Luminance0.1685 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C138A4 #38C155
analogous
#9A38C1 #C138A4 #C13860
triadic
#C138A4 #A4C138 #38A4C1
tetradic
#C138A4 #C19A38 #38C155 #3860C1
square
#C138A4 #C19A38 #38C155 #3860C1
split-complementary
#C138A4 #60C138 #38C19A
monochromatic
#621C53 #922A7C #C138A4 #D264BB #E094D0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C138A4#FFFFFF#000000##FFFFFF
##C138A41.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)
#3D65A7
Deuteranopia (green-blind)
#6A7AA1
Tritanopia (blue-blind)
#CB3F69
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c138a4;
/* rgb */ color: rgb(193, 56, 164);
/* oklch */ color: oklch(58.0% 0.206 337.7);
Tailwind
colors: {
  custom: {
    50: '#d77bbf',
    500: '#c138a4',
    950: '#000000',
  },
}
SCSS
$custom: #c138a4;
$custom-light: #d77bbf;
$custom-dark: #000000;
JSON
{
  "hex": "#c138a4",
  "rgb": {
    "r": 193,
    "g": 56,
    "b": 164
  },
  "hsl": {
    "h": 312.701,
    "s": 55.02,
    "l": 48.824
  },
  "oklch": {
    "l": 0.57957,
    "c": 0.20634,
    "h": 337.7
  },
  "luminance": 0.16846
}

Semantic roles & 50–950 ramp

primary
#C138A4
secondary
#8ACB98
accent
#DE6949
background
#FDF7FB
surface
#FBEEF7
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C138A4

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

Preview Lab → · Contrast checker → · Palette generator →

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