#CF538B#CF538B

#CF538B is a mid, vivid pink. Relative luminance 0.213; OKLCH L 61.9% C 0.167 H 354.9°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#CF538B
RGBrgb(207, 83, 139)
HSLhsl(333, 56%, 57%)
HSVhsv(333, 60%, 81%)
CMYKcmyk(0%, 59.9%, 32.9%, 18.8%)
CIE-LABlab(53.30, 54.45, -5.82)
CIE-LCHlch(53.30, 54.76, 353.90°)
OKLaboklab(61.92% 0.1659 -0.0147)
OKLCHoklch(61.92% 0.167 354.9)
XYZxyz(33.4873, 21.3195, 26.7726)
Luminance0.2132 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF538B #53CF97
analogous
#CF53C9 #CF538B #CF5953
triadic
#CF538B #8BCF53 #538BCF
tetradic
#CF538B #C9CF53 #53CF97 #5953CF
square
#CF538B #C9CF53 #53CF97 #5953CF
split-complementary
#CF538B #53CF59 #53C9CF
monochromatic
#83254F #B3326C #CF538B #DC83AB #EAB3CC

Accessibility & contrast

On white

3.99
#CF538B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#CF538B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF538B
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF538B#FFFFFF#000000##000000
##CF538B1.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#66718D
Deuteranopia (green-blind)
#888888
Tritanopia (blue-blind)
#DE4B69
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cf538b;
/* rgb */ color: rgb(207, 83, 139);
/* oklch */ color: oklch(61.9% 0.167 354.9);
Tailwind
colors: {
  custom: {
    50: '#e189ac',
    500: '#cf538b',
    950: '#000000',
  },
}
SCSS
$custom: #cf538b;
$custom-light: #e189ac;
$custom-dark: #000000;
JSON
{
  "hex": "#cf538b",
  "rgb": {
    "r": 207,
    "g": 83,
    "b": 139
  },
  "hsl": {
    "h": 332.903,
    "s": 56.364,
    "l": 56.863
  },
  "oklch": {
    "l": 0.61918,
    "c": 0.16653,
    "h": 354.9
  },
  "luminance": 0.21316
}

Semantic roles & 50–950 ramp

primary
#CF538B
secondary
#A6D8C1
accent
#E09B48
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CF538B

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

Preview Lab → · Contrast checker → · Palette generator →

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