#C138A6#C138A6

#C138A6 is a mid, highly saturated pink. Relative luminance 0.169; OKLCH L 58.1% C 0.208 H 337.0°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#C138A6
RGBrgb(193, 56, 166)
HSLhsl(312, 55%, 49%)
HSVhsv(312, 71%, 76%)
CMYKcmyk(0%, 71%, 14%, 24.3%)
CIE-LABlab(48.16, 64.97, -29.87)
CIE-LCHlch(48.16, 71.51, 335.31°)
OKLaboklab(58.05% 0.1912 -0.0812)
OKLCHoklch(58.05% 0.208 337)
XYZxyz(30.2900, 16.9217, 37.7400)
Luminance0.1692 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C138A6 #38C153
analogous
#9838C1 #C138A6 #C13862
triadic
#C138A6 #A6C138 #38A6C1
tetradic
#C138A6 #C19838 #38C153 #3862C1
square
#C138A6 #C19838 #38C153 #3862C1
split-complementary
#C138A6 #62C138 #38C198
monochromatic
#621C54 #922A7D #C138A6 #D264BC #E094D1

Accessibility & contrast

On white

4.79
#C138A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#C138A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C138A6
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C138A6#FFFFFF#000000##FFFFFF
##C138A61.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C65A9
Deuteranopia (green-blind)
#6A7AA3
Tritanopia (blue-blind)
#CB406B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c138a6;
/* rgb */ color: rgb(193, 56, 166);
/* oklch */ color: oklch(58.1% 0.208 337.0);
Tailwind
colors: {
  custom: {
    50: '#d77bc0',
    500: '#c138a6',
    950: '#000000',
  },
}
SCSS
$custom: #c138a6;
$custom-light: #d77bc0;
$custom-dark: #000000;
JSON
{
  "hex": "#c138a6",
  "rgb": {
    "r": 193,
    "g": 56,
    "b": 166
  },
  "hsl": {
    "h": 311.825,
    "s": 55.02,
    "l": 48.824
  },
  "oklch": {
    "l": 0.58053,
    "c": 0.20771,
    "h": 337
  },
  "luminance": 0.16919
}

Semantic roles & 50–950 ramp

primary
#C138A6
secondary
#8ACB97
accent
#DE6749
background
#FDF7FB
surface
#FBEEF7
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C138A6

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

Preview Lab → · Contrast checker → · Palette generator →

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