#CF538D#CF538D

#CF538D is a mid, vivid pink. Relative luminance 0.214; OKLCH L 62.0% C 0.167 H 354.0°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#CF538D
RGBrgb(207, 83, 141)
HSLhsl(332, 56%, 57%)
HSVhsv(332, 60%, 81%)
CMYKcmyk(0%, 59.9%, 31.9%, 18.8%)
CIE-LABlab(53.36, 54.69, -6.91)
CIE-LCHlch(53.36, 55.12, 352.80°)
OKLaboklab(61.99% 0.1665 -0.0176)
OKLCHoklch(61.99% 0.167 354)
XYZxyz(33.6347, 21.3785, 27.5493)
Luminance0.2137 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF538D #53CF95
analogous
#CF53CB #CF538D #CF5753
triadic
#CF538D #8DCF53 #538DCF
tetradic
#CF538D #CBCF53 #53CF95 #5753CF
square
#CF538D #CBCF53 #53CF95 #5753CF
split-complementary
#CF538D #53CF57 #53CBCF
monochromatic
#832551 #B3326E #CF538D #DC83AD #EAB3CC

Accessibility & contrast

On white

3.98
#CF538D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#CF538D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF538D
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF538D#FFFFFF#000000##000000
##CF538D1.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#66718F
Deuteranopia (green-blind)
#87888A
Tritanopia (blue-blind)
#DE4B6A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cf538d;
/* rgb */ color: rgb(207, 83, 141);
/* oklch */ color: oklch(62.0% 0.167 354.0);
Tailwind
colors: {
  custom: {
    50: '#e189ae',
    500: '#cf538d',
    950: '#000000',
  },
}
SCSS
$custom: #cf538d;
$custom-light: #e189ae;
$custom-dark: #000000;
JSON
{
  "hex": "#cf538d",
  "rgb": {
    "r": 207,
    "g": 83,
    "b": 141
  },
  "hsl": {
    "h": 331.935,
    "s": 56.364,
    "l": 56.863
  },
  "oklch": {
    "l": 0.61987,
    "c": 0.16742,
    "h": 354
  },
  "luminance": 0.21375
}

Semantic roles & 50–950 ramp

primary
#CF538D
secondary
#A6D8C1
accent
#E09948
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CF538D

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

Preview Lab → · Contrast checker → · Palette generator →

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