#C138A2#C138A2

#C138A2 is a mid, highly saturated pink. Relative luminance 0.168; OKLCH L 57.9% C 0.205 H 338.5°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#C138A2
RGBrgb(193, 56, 162)
HSLhsl(314, 55%, 49%)
HSVhsv(314, 71%, 76%)
CMYKcmyk(0%, 71%, 16.1%, 24.3%)
CIE-LABlab(47.98, 64.39, -27.78)
CIE-LCHlch(47.98, 70.13, 336.66°)
OKLaboklab(57.86% 0.1907 -0.0752)
OKLCHoklch(57.86% 0.205 338.5)
XYZxyz(29.9287, 16.7772, 35.8375)
Luminance0.1677 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C138A2 #38C157
analogous
#9C38C1 #C138A2 #C1385E
triadic
#C138A2 #A2C138 #38A2C1
tetradic
#C138A2 #C19C38 #38C157 #385EC1
square
#C138A2 #C19C38 #38C157 #385EC1
split-complementary
#C138A2 #5EC138 #38C19C
monochromatic
#621C52 #922A7A #C138A2 #D264B9 #E094CF

Accessibility & contrast

On white

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

On black

4.35
#C138A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##C138A2#FFFFFF#000000##FFFFFF
##C138A21.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E64A5
Deuteranopia (green-blind)
#6B7A9F
Tritanopia (blue-blind)
#CC3E68
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c138a2;
/* rgb */ color: rgb(193, 56, 162);
/* oklch */ color: oklch(57.9% 0.205 338.5);
Tailwind
colors: {
  custom: {
    50: '#d87bbe',
    500: '#c138a2',
    950: '#000000',
  },
}
SCSS
$custom: #c138a2;
$custom-light: #d87bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#c138a2",
  "rgb": {
    "r": 193,
    "g": 56,
    "b": 162
  },
  "hsl": {
    "h": 313.577,
    "s": 55.02,
    "l": 48.824
  },
  "oklch": {
    "l": 0.57861,
    "c": 0.20499,
    "h": 338.5
  },
  "luminance": 0.16774
}

Semantic roles & 50–950 ramp

primary
#C138A2
secondary
#8ACB99
accent
#DE6B49
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C138A2

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

Preview Lab → · Contrast checker → · Palette generator →

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