#F238C7#F238C7

#F238C7 is a light, highly saturated pink. Relative luminance 0.258; OKLCH L 67.1% C 0.257 H 339.4°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#F238C7
RGBrgb(242, 56, 199)
HSLhsl(314, 88%, 58%)
HSVhsv(314, 77%, 95%)
CMYKcmyk(0%, 76.9%, 17.8%, 5.1%)
CIE-LABlab(57.88, 80.67, -33.30)
CIE-LCHlch(57.88, 87.28, 337.57°)
OKLaboklab(67.1% 0.2404 -0.0901)
OKLCHoklch(67.1% 0.257 339.4)
XYZxyz(48.3423, 25.8340, 56.4623)
Luminance0.2583 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F238C7 #38F263
analogous
#C038F2 #F238C7 #F2386A
triadic
#F238C7 #C7F238 #38C7F2
tetradic
#F238C7 #F2C038 #38F263 #386AF2
square
#F238C7 #F2C038 #38F263 #386AF2
split-complementary
#F238C7 #6AF238 #38F2C0
monochromatic
#A50B81 #DE0FAE #F238C7 #F671D7 #FAABE7

Accessibility & contrast

On white

3.41
#F238C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#F238C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F238C7
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F238C7#FFFFFF#000000##000000
##F238C71.003.416.176.17
#FFFFFF3.411.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4578CB
Deuteranopia (green-blind)
#8495C3
Tritanopia (blue-blind)
#FF407D
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #f238c7;
/* rgb */ color: rgb(242, 56, 199);
/* oklch */ color: oklch(67.1% 0.257 339.4);
Tailwind
colors: {
  custom: {
    50: '#fb82d8',
    500: '#f238c7',
    950: '#000000',
  },
}
SCSS
$custom: #f238c7;
$custom-light: #fb82d8;
$custom-dark: #000000;
JSON
{
  "hex": "#f238c7",
  "rgb": {
    "r": 242,
    "g": 56,
    "b": 199
  },
  "hsl": {
    "h": 313.871,
    "s": 87.736,
    "l": 58.431
  },
  "oklch": {
    "l": 0.67103,
    "c": 0.25678,
    "h": 339.4
  },
  "luminance": 0.25829
}

Semantic roles & 50–950 ramp

primary
#F238C7
secondary
#9EE8AF
accent
#FE5B2A
background
#FFF8FD
surface
#FFF0FA
border
#D7CBD3
text
#180C14
muted
#867D83

Preview Lab

Preview with #F238C7

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

Preview Lab → · Contrast checker → · Palette generator →

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