#C0438E#C0438E

#C0438E is a mid, vivid pink. Relative luminance 0.172; OKLCH L 57.9% C 0.178 H 347.1°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#C0438E
RGBrgb(192, 67, 142)
HSLhsl(324, 50%, 51%)
HSVhsv(324, 65%, 75%)
CMYKcmyk(0%, 65.1%, 26%, 24.7%)
CIE-LABlab(48.48, 57.23, -15.08)
CIE-LCHlch(48.48, 59.18, 345.23°)
OKLaboklab(57.93% 0.1732 -0.0398)
OKLCHoklch(57.93% 0.178 347.1)
XYZxyz(28.6290, 17.1767, 27.3936)
Luminance0.1717 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0438E #43C075
analogous
#B343C0 #C0438E #C0434F
triadic
#C0438E #8EC043 #438EC0
tetradic
#C0438E #C0B343 #43C075 #434FC0
square
#C0438E #C0B343 #43C075 #434FC0
split-complementary
#C0438E #4FC043 #43C0B3
monochromatic
#66224B #94326D #C0438E #CF71AA #DF9FC5

Accessibility & contrast

On white

4.74
#C0438E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#C0438E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C0438E
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0438E#FFFFFF#000000##FFFFFF
##C0438E1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#526590
Deuteranopia (green-blind)
#767B8B
Tritanopia (blue-blind)
#CD4063
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c0438e;
/* rgb */ color: rgb(192, 67, 142);
/* oklch */ color: oklch(57.9% 0.178 347.1);
Tailwind
colors: {
  custom: {
    50: '#d77faf',
    500: '#c0438e',
    950: '#000000',
  },
}
SCSS
$custom: #c0438e;
$custom-light: #d77faf;
$custom-dark: #000000;
JSON
{
  "hex": "#c0438e",
  "rgb": {
    "r": 192,
    "g": 67,
    "b": 142
  },
  "hsl": {
    "h": 324,
    "s": 49.801,
    "l": 50.784
  },
  "oklch": {
    "l": 0.57927,
    "c": 0.17768,
    "h": 347.1
  },
  "luminance": 0.17174
}

Semantic roles & 50–950 ramp

primary
#C0438E
secondary
#94CBAA
accent
#D9864E
background
#FDF8FA
surface
#FBEFF4
border
#D4CACE
text
#150B10
muted
#837C7F

Preview Lab

Preview with #C0438E

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

Preview Lab → · Contrast checker → · Palette generator →

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